The direct debit mandate attached to the customer with the given id.
Adfin API (1.0.0)
Adfin uses OAuth 2.0 access tokens to authenticate all API requests.
There are two contexts in which tokens are issued:
Biller Access Tokens — Generated via the Authorization Code flow when a biller connects their Adfin account. These tokens grant access to that biller's data (invoices, payment requests, customers, etc.).
Platform Access Tokens — Generated via the Client Credentials flow for Adfin's own integrations and system events. These tokens authenticate Adfin as the platform itself (not as a specific biller) and are required for endpoints like
/api/webhook.
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/{id}/directdebitmandates
- Production API Server URLhttps://api.adfin.com/api/customers/{id}/directdebitmandates
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/{id}/directdebitmandates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/{id}/directdebitmandates' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "mandates": [ { … } ] }
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/{id}/directdebitmandates
- Production API Server URLhttps://api.adfin.com/api/customers/{id}/directdebitmandates
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/{id}/directdebitmandates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/{id}/directdebitmandates' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"redirectUrl": "string"
}'The direct debit mandate was created
The reason as predefined code why the mandate is in a certain status
Reason explaining the current status of the direct debit mandate, especially useful for failure cases.
{ "id": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdateTime": "2019-08-24T14:15:22Z", "distributionTime": "2019-08-24T14:15:22Z", "authorisationTime": "2019-08-24T14:15:22Z", "submissionTime": "2019-08-24T14:15:22Z", "status": "CREATED", "failureReason": "string", "statusReasonCode": "PENDING_DD_CAPABILITY", "statusReason": "string", "customer": { "id": "string", "externalId": "string", "name": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdatedTime": "2019-08-24T14:15:22Z", "people": [ … ], "addresses": [ … ], "directDebitMandate": { … }, "billerBankAccount": { … }, "timezone": "string", "discount": { … }, "externalData": [ … ], "tags": [ … ], "status": "ACTIVE", "statusReasonCode": "MERGED", "settings": { … }, "trackingItems": [ … ], "office": { … } }, "url": "string", "redirectUrl": "string", "sender": { "name": "string" }, "bankAccountNumber": "string", "sortCode": "string", "bankAccountHolderName": "string" }
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}:reinstate
- Production API Server URLhttps://api.adfin.com/api/customers/directdebitmandates/{id}:reinstate
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/directdebitmandates/{id}:reinstate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}:reinstate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The direct debit mandate was reinstated.
The reason as predefined code why the mandate is in a certain status
Reason explaining the current status of the direct debit mandate, especially useful for failure cases.
{ "id": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdateTime": "2019-08-24T14:15:22Z", "distributionTime": "2019-08-24T14:15:22Z", "authorisationTime": "2019-08-24T14:15:22Z", "submissionTime": "2019-08-24T14:15:22Z", "status": "CREATED", "failureReason": "string", "statusReasonCode": "PENDING_DD_CAPABILITY", "statusReason": "string", "customer": { "id": "string", "externalId": "string", "name": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdatedTime": "2019-08-24T14:15:22Z", "people": [ … ], "addresses": [ … ], "directDebitMandate": { … }, "billerBankAccount": { … }, "timezone": "string", "discount": { … }, "externalData": [ … ], "tags": [ … ], "status": "ACTIVE", "statusReasonCode": "MERGED", "settings": { … }, "trackingItems": [ … ], "office": { … } }, "url": "string", "redirectUrl": "string", "sender": { "name": "string" }, "bankAccountNumber": "string", "sortCode": "string", "bankAccountHolderName": "string" }
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}:cancel
- Production API Server URLhttps://api.adfin.com/api/customers/directdebitmandates/{id}:cancel
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/directdebitmandates/{id}:cancel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}:cancel' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"reason": "string"
}'The status of the direct debit mandate
The reason code of the direct debit mandate status
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates
- Production API Server URLhttps://api.adfin.com/api/customers/directdebitmandates
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/directdebitmandates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates?customerId=497f6eca-6276-4993-bfeb-53cbbbba6f08&statuses=CREATED&statusReasonCodes=PENDING_DD_CAPABILITY&canBeReinstated=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "mandates": [ { … } ] }
- Mock serverhttps://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}
- Production API Server URLhttps://api.adfin.com/api/customers/directdebitmandates/{id}
- Staging API Server URLhttps://api.staging.adfin.com/api/customers/directdebitmandates/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.adfin.com/_mock/products/partner-integration/partner-integration-api-reference/customers/directdebitmandates/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The direct debit mandate corresponding to the provided id.
The reason as predefined code why the mandate is in a certain status
Reason explaining the current status of the direct debit mandate, especially useful for failure cases.
{ "id": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdateTime": "2019-08-24T14:15:22Z", "distributionTime": "2019-08-24T14:15:22Z", "authorisationTime": "2019-08-24T14:15:22Z", "submissionTime": "2019-08-24T14:15:22Z", "status": "CREATED", "failureReason": "string", "statusReasonCode": "PENDING_DD_CAPABILITY", "statusReason": "string", "customer": { "id": "string", "externalId": "string", "name": "string", "creationTime": "2019-08-24T14:15:22Z", "lastUpdatedTime": "2019-08-24T14:15:22Z", "people": [ … ], "addresses": [ … ], "directDebitMandate": { … }, "billerBankAccount": { … }, "timezone": "string", "discount": { … }, "externalData": [ … ], "tags": [ … ], "status": "ACTIVE", "statusReasonCode": "MERGED", "settings": { … }, "trackingItems": [ … ], "office": { … } }, "url": "string", "redirectUrl": "string", "sender": { "name": "string" }, "bankAccountNumber": "string", "sortCode": "string", "bankAccountHolderName": "string" }