Create a collection
Changed onCreate a Direct Debit collection against a mandate_id to collect payments from the customer's bank account.
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",
"custom1": "4f0a0e0d-a407-46d8-841a-3409831d69a3",
"custom2": "eb031f5b-9c34-4101-8dea-269ca88fcadb"
},
"payment": {
"mandate_id": "18456786-5d7a-44a6-a4cb-aaaf95590f87",
"charge_date": "2024-08-05"
}
}Response
Created
Example response
{
"status": "pending",
"transaction_id": "bd3fbbcd-411e-4760-8a9f-7af420d26314"
}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
GBPenum value to the request property/
- breaking