Get mandate
Changed onRetrieve a single mandate by its ID. Depending on the type of mandate, the object will contain the customer's bank account details, card details, or PayPal account details.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/customers/{customerId}/mandates/{mandateId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: mandates.read
Query parameters
Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The mandate object.
Example response
{
"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"
}
}
}Changes
- warning
added the new
Cartes Bancairesenum value to the/////response property for the response status - warning
added the new
undefinedenum value to the/////response property for the response status
- warning
- info
added the non-success response with the status
- info