Generate a link_id
Changed onGenerate a payment-link which contains detail of the order or payment. This link_id can then be appended to the required environment and shared with the customer like this https://test-pay.acquired.com/v1/{link_id}. In production, remove the test prefix.
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Unique ID assigned by Acquired.com for your company.
Unique ID assigned by Acquired.com connecting to a specific acquiring bank.
Request body
Example request
{
"transaction": {
"order_id": "1f1f2a61-5b68-4725-a0ce-9560514ec00b",
"amount": 15.02,
"currency": "GBP",
"custom_data": "L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh"
},
"payment": {
"reference": "Custom Ref 001"
},
"customer": {
"first_name": "Edward",
"last_name": "Johnson",
"dob": "1988-10-03",
"custom_data": "L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh",
"billing": {
"address": {
"line_1": "152 Aldgate Drive",
"city": "London",
"postcode": "E1 7RT",
"country_code": "GB"
}
},
"shipping": {
"address_match": true
},
"email": "ejohnson@acquired.com",
"phone": {
"country_code": "44",
"number": "2039826580"
}
},
"tds": {
"is_active": true,
"challenge_preference": "no_preference",
"contact_url": "https://example.com/contact"
},
"recurring": {
"term": {
"start_date": "2026-06-15",
"end_date": "2027-06-15"
}
},
"redirect_url": "https://example.com/redirect",
"webhook_url": "https://example.com/webhook",
"submit_type": "pay",
"configuration": {
"variable_recurring_payment": {
"type": "sweeping",
"periodic_limit": {
"per_payment": {
"maximum_amount": 100
},
"day": {
"maximum_amount": 100,
"alignment": "consent"
},
"week": {
"maximum_amount": 100,
"alignment": "consent"
},
"fortnight": {
"maximum_amount": 100
},
"month": {
"maximum_amount": 100,
"alignment": "consent"
},
"half_year": {
"maximum_amount": 100,
"alignment": "consent"
},
"year": {
"maximum_amount": 100,
"alignment": "consent"
}
}
}
}
}Response
Created
Example response
{
"status": "success"
}Changes
- breaking
removed the enum value
aedof the request property/ - breaking
removed the enum value
audof the request property/ - breaking
removed the enum value
cadof the request property/ - breaking
removed the enum value
chfof the request property/ - breaking
removed the enum value
cnyof the request property/ - breaking
removed the enum value
dkkof the request property/ - breaking
removed the enum value
eurof the request property/ - breaking
removed the enum value
gbpof the request property/ - breaking
removed the enum value
hkdof the request property/ - breaking
removed the enum value
jpyof the request property/ - breaking
removed the enum value
mxnof the request property/ - breaking
removed the enum value
sekof the request property/ - breaking
removed the enum value
usdof the request property/ - breaking
removed the enum value
zarof the request property/ - info
added the new
AEDenum value to the request property/ - info
added the new
AUDenum value to the request property/ - info
added the new
CADenum value to the request property/ - info
added the new
CHFenum value to the request property/ - info
added the new
CNYenum value to the request property/ - info
added the new
DKKenum value to the request property/ - info
added the new
EURenum value to the request property/ - info
added the new
GBPenum value to the request property/ - info
added the new
HKDenum value to the request property/ - info
added the new
JPYenum value to the request property/ - info
added the new
MXNenum value to the request property/ - info
added the new
SEKenum value to the request property/ - info
added the new
USDenum value to the request property/ - info
added the new
ZARenum value to the request property/
- breaking