Pay by Bank
Single immediate payment
Changed onRequest consent from the ASPSP and generate a URL for the user to authenticate themselves.
post/single-immediate-payment
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Company-Idstring uuid
Unique identifier assigned by Acquired.com for your account.
Midstring uuid
Unique identifier assigned by Acquired.com allowing you to specify which bank account funds should be settled.
Request body
Example request
{
"transaction": {
"order_id": "1f1f2a61-5b68-4725-a0ce-9560514ec00b",
"amount": 15.02,
"currency": "GBP"
},
"payment": {
"single_immediate_payment": {
"reference": "Custom Ref 001"
},
"debtor": {
"name": "Edward Johnson",
"sort_code": "123456",
"account_number": "87654321"
}
},
"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"
}
}
},
"redirect_url": "https://example.com/redirect",
"webhook_url": "https://example.com/webhook"
}Response
Consent was granted by the ASPSP and you should redirect the PSU to the url.
Example response
{
"expires_in": 600
}Changes
- breaking
removed the enum value
gbpof the request property/ - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new
GBPenum value to the request property/
- breaking