Number of APIs: 5
POST {{url}}payments
Submit a payment request into the API and receive a response. If you want to create a card for future use, submit the full card details within the card object and set the create_card
parameter to true
. Make sure that you add the relating customer_id
as all payments and cards must be associated to the customer. The newly created card_id
value will then be returned in the response, and can be passed in the card_id
parameter in the /payments/reuse
or /payments/recurring
endpoint.
2. Process a payment (card_id)
POST {{url}}payments/reuse
Process a payment using a stored card. Simply pass the https://docs.acquired.com/reference/create-payment-stored-cardcard_id
and the cvv
value in your request instead of passing the full card details. You are not required to pass the customer_id
in the request as the card is linked to the required customer.
3. Apple Pay
POST {{url}}payments/apple-pay
When the user selects the Apple Pay button a payment request will be created and an encrypted payload will be returned to us.
4. Google Pay
POST {{url}}payments/google-pay
When the user selects to pay with Google Pay, a payment request will be created and an encrypted payload will be returned to your application.
POST {{url}}payments/recurring
Recurring payments can be used to charge customers on a regular basis, i.e. for subscriptions or credit-based services. https://docs.acquired.com/reference/create-recurring-payment