Logo
Acquired.com API API Documentation

Payment link (customer_id)

POST {{url}}payment-links

https://docs.acquired.com/docs/introduction-to-checkout

The easiest way to start accepting eCommerce payments. Prebuilt and fully hosted by Acquired.com to get all of our supported payment methods in front of your customers.

For existing customers, provide a customer_id in the initial payment links request without the need to pass the full card details. If the 'save cards' feature is enabled within the Hub, cards will also be saved against the customer_id.

Append the link_id to our known URLs and open in a browser - https://test-pay.acquired.com/v1/{{link_id}}

Enter the cardnumber 4000015979612025 to replicate a 3-D Secure checkout flow where the cardholder is required to authenticate themselves.

 

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/payment-links' -H 'Content-Type: application/json' -H 'Company-Id: ' -H 'Mid: ' -d '{"transaction":{"order_id":"$guid","amount":15.02,"currency":"gbp","capture":true,"custom_data":"a92786da-62df-45fc-991e-821e3ea6c2a1","custom1":"string","custom2":"string"},"customer":{"customer_id":"7e84f9b7-7650-45ff-94e4-5f988ffa6378"},"tds":{"is_active":true,"challenge_preference":"no_preference","contact_url":"https://yourdomain.com/contact"},"is_recurring":false,"count_retry":3,"expires_in":259200,"redirect_url":"https://qaacs.acquired.com/merchant_redirect/test_success","webhook_url":"https://yourdomain.com/webhook"}'

ENDPOINTS