Apple Pay
Changed onWhen the user selects the Apple Pay button a payment request will be created and an encrypted payload will be returned to us.
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": {
"scheme": "visa",
"type": "debit",
"display_name": "**** 8710",
"reference": "Custom Ref 001",
"custom_data": "L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh"
},
"customer": {
"reference": "customer_number_00001",
"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"
},
"email": "ejohnson@acquired.com",
"phone": {
"country_code": "44",
"number": "2039826580"
}
},
"shipping": {
"first_name": "Edward",
"last_name": "Johnson",
"address": {
"line_1": "152 Aldgate Drive",
"city": "London",
"postcode": "E1 7RT",
"country_code": "GB"
},
"email": "ejohnson@acquired.com",
"phone": {
"country_code": "44",
"number": "2039826580"
}
}
}
}Response
Created
Example response
{
"transaction_id": "a7e3fde5-5b83-44f4-9915-782bc7121717",
"status": "success",
"issuer_response_code": "00",
"retry_advice": {
"category": "retry_later",
"detail": null,
"retry_after": "2026-03-04T00:00:00Z",
"acquirer_code": "25"
},
"card_id": "a84fb738-0886-42ca-8711-3d6c0f586b08",
"transaction_link_id": "ex9D-Gm0NN9Gaih0zZ0s99",
"links": [
{
"rel": "self",
"href": "/v1/transactions/a7e3fde5-5b83-44f4-9915-782bc7121717"
}
]
}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/ - warning
added the new
1Aenum value to theresponse property for the response status - warning
added the new
45enum value to theresponse property for the response status - warning
added the new
46enum value to theresponse property for the response status - warning
added the new
49enum value to theresponse property for the response status - warning
added the new
50enum value to theresponse property for the response status - warning
added the new
58enum value to theresponse property for the response status - warning
added the new
5Cenum value to theresponse property for the response status - warning
added the new
69enum value to theresponse property for the response status - warning
added the new
6Penum value to theresponse property for the response status - warning
added the new
70enum value to theresponse property for the response status - warning
added the new
71enum value to theresponse property for the response status - warning
added the new
72enum value to theresponse property for the response status - warning
added the new
73enum value to theresponse property for the response status - warning
added the new
74enum value to theresponse property for the response status - warning
added the new
78enum value to theresponse property for the response status - warning
added the new
79enum value to theresponse property for the response status - warning
added the new
9Genum value to theresponse property for the response status - warning
added the new
B1enum value to theresponse property for the response status - warning
added the new
R0enum value to theresponse property for the response status - warning
added the new
R1enum value to theresponse property for the response status - warning
added the new
R3enum value to theresponse property for the response status - info
added the new optional request property
// - info
added the new optional 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/ - info
added the optional property
to the response with the status
- breaking