Logo
Acquired.com API API Documentation

Process a payment (card_id)

POST {{url}}payments/reuse

Process a payment using a stored card. Simply pass the card_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.

https://docs.acquired.com/reference/create-payment-stored-card

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Company-Id
null Unique ID assigned by Acquired.com for your company.
Mid
null Unique ID assigned by Acquired.com connecting to a specific acquiring bank. Not setting this value will enable our internal routing logic.




RESPONSES

status





Curl
curl -X POST 'https://test-api.acquired.com/v1/payments/reuse' -H 'Content-Type: application/json' -H 'Company-Id: ' -H 'Mid: ' -d '{"transaction":{"order_id":"$guid","amount":15.02,"currency":"gbp","moto":false,"capture":true},"payment":{"card_id":"4370a338-b2c2-414a-960f-f496b126b283","card":{"cvv":"123"},"reference":"Custom Ref 001"},"tds":{"is_active":false,"challenge_preference":"no_preference","challenge_window_size":"full_screen","contact_url":"https://yourdomain.com/contact","redirect_url":"https://yourdomain.com/redirect","webhook_url":"https://yourdomain.com/webhook"}}'

ENDPOINTS