Create mandate
Create a mandate for a specific customer. Mandates allow you to charge a customer's card, PayPal account or bank account recurrently.
It is only possible to create mandates for IBANs and PayPal billing agreements with this endpoint. To create mandates for cards, your customers need to perform a 'first payment' with their card.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Request body
Example request
{
"resource": "mandate",
"id": "mdt_5B8cwPMGnU",
"mode": "live",
"method": "directdebit",
"consumerName": "John Doe",
"consumerAccount": "NL55INGB0000000000",
"consumerBic": "BANKBIC",
"consumerEmail": "example@email.com",
"details": {
"consumerName": "John Doe",
"consumerAccount": "NL55INGB0000000000",
"consumerBic": "BANKBIC",
"cardHolder": "John Doe",
"cardExpiryDate": "2025-01-01",
"cardLabel": "Visa",
"cardFingerprint": "d3290e932k02f"
},
"signatureDate": "2025-01-01",
"mandateReference": "ID-1023892",
"paypalBillingAgreementId": "B-12A34567B8901234CD",
"payPalVaultId": "8kk8451t",
"scopes": [
"customer-present"
],
"status": "valid",
"customerId": "cst_5B8cwPMGnU",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"customer": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Response
The newly created mandate object.
Changes
Changed in 3 of the 92 revisions of this API.25
- ●
added the new
Cartes Bancairesenum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
added the new
undefinedenum value to the/////response property for the response statusresponse-property-enum-value-added
- ○
added the new
Cartes Bancairesenum value to the request property/////request-property-enum-value-added
- ○
added the new
undefinedenum value to the request property/////request-property-enum-value-added
- ●
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
the endpoint scheme security
advancedAccessTokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
organizationAccessTokenwas removed from the APIapi-security-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 92 revisions, 9 have no diff computed.