v1
latestOpenAPI 3.1.02026-07-2478315484.9 KBConsents Account On File
Create a new AoF consent
Creates a new Account-on-File consent that can be authorized later.
post/consents/v1/account-on-file
Request body
Example request
{
"customer_id": "acc176ca-7716-4fbb-a735-d0e3dec24b40",
"destination_account_id": "911f30d8-8fc8-4fe9-86a1-3f9fea11a674",
"currency": "AED",
"reference": "Invoice #12345",
"start_date_time": "2025-07-11T16:58:03.559872Z",
"expiration_date_time": "2026-07-11T16:58:03.559872Z",
"immediate_payment": {
"amount": 123.45,
"reference": "Invoice #12345"
}
}Response
Consent created successfully
Example response
{
"currency": "AED",
"immediate_payment": {
"amount": 123.45,
"reference": "Invoice #12345"
}
}