Mandates
Retrieve a Direct Debit mandate
GET
/mandates/{id}Related endpoints
POST /mandates— Create a Direct Debit mandateGET /mandates— List Direct Debit mandatesPOST /mandates/{id}/cancel— Cancel a Direct Debit mandatePOST /mandates/{id}/suspend— Suspend a Direct Debit mandatePOST /mandates/{id}/reinstate— Reinstate a suspended Direct Debit mandatePOST /mandates/{id}/collections— Schedule a one-off Direct Debit collection
Common errors
401 authentication_error— missing, invalid, expired, or revoked credential. Codes:authentication_failed,invalid_api_key,expired_api_key,api_key_revoked,session_invalid,merchant_required. Carries aWWW-Authenticate: Bearerchallenge.404 resource_missing— the referenced resource does not exist or is not visible to your key.
Authorization
apiKey x-api-key<token>
Your RevKeen merchant API key. Create and manage keys in Dashboard → Settings → Developer. Use rk_sandbox_* for staging/test and rk_live_* for production. The same key may be sent as Authorization: Bearer <key> if that suits your HTTP client better. A missing, invalid, expired, or revoked key returns 401 with a WWW-Authenticate: Bearer challenge; a valid key without the required scope returns 403.
In: header
Path Parameters
id*string
Mandate ID
Response Body
application/json
application/json
application/json
application/json
Stuck on an error response? Ask the RevKeen assistant to explain it.
curl -X GET "https://api.revkeen.com/v2/mandates/rk_example_id" \
-H "x-api-key: $REVKEEN_API_KEY"Synthetic documentation data, validated against the response schema; not a live API result.
{ "data": { "id": "00000000-0000-4000-8000-000000000001", "mandate_ref": "string", "mandate_reference": "string", "customer_id": "00000000-0000-4000-8000-000000000001", "status": "pending_lodgement", "account_holder_name": "string", "sort_code": "XX-XX-00", "account_number_last4": "string", "bank_name": "string", "statement_name": "string", "notice_days": 0, "first_collection_date": "string", "next_collection_date": "string", "backup_payment_method_id": "string", "activated_at": "2019-08-24T14:15:22Z", "suspended_at": "2019-08-24T14:15:22Z", "cancelled_at": "2019-08-24T14:15:22Z", "failure_reason": "string", "mandate_request_id": "string", "invoice_id": "string", "pdf_documents": [ { "id": "00000000-0000-4000-8000-000000000001", "mandate_request_id": "string", "mandate_id": "00000000-0000-4000-8000-000000000001", "customer_id": "00000000-0000-4000-8000-000000000001", "merchant_id": "00000000-0000-4000-8000-000000000001", "pdf_type": "signed_mandate_confirmation", "storage_key": "string", "pdf_url": "string", "generated_at": "2026-09-01T12:00:00Z", "template_version": "string", "compliance_version": "string" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}