Update a session_id
Changed onThis request allows you to update any details of the previously created session_id. Submit a request containing the parameters to be updated, when the payment is completed within Components. the authorisation request will use the latest parameters set against the session_id.
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique ID assigned by Acquired.com which contains the payment information that will be loaded when initialising the Components checkout.
Request body
Example request
{
"transaction": {
"order_id": "1f1f2a61-5b68-4725-a0ce-9560514ec00b",
"amount": 15.02,
"currency": "GBP",
"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"
}
}
},
"tds": {
"challenge_preference": "no_preference",
"challenge_window_size": "full_screen",
"contact_url": "https://example.com/contact",
"redirect_url": "https://example.com/redirect",
"webhook_url": "https://example.com/webhook"
},
"webhook_url": "https://example.com/webhook"
}Response
OK
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 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