Get Customer Direct Debit Mandates
Get customer direct debit mandates using filters
GET /v1/Services/DirectDebitMandates
Use the Test or Production base URL configured under Overview.
Query parameters
At least one of customerGuid, directDebitGuid or idnumber must contain a value. No individual parameter is mandatory when another filter is supplied.
| Parameter | Mandatory | Description |
|---|---|---|
| customerGuid | Conditional | string Filter by customer GUID. |
| directDebitGuid | Conditional | string Filter by direct debit mandate GUID. |
| idnumber | Conditional | string Filter by customer identification number. |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
Returns a JSON array of direct debit mandates.
| Field path | Mandatory | Description |
|---|---|---|
| [].mandateGuid | Yes | string Direct debit mandate GUID. |
| [].directDebitMandateType | Yes | string Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden). |
| [].referenceNo | Yes | string Direct debit mandate reference number. |
| [].requestedAt | No | null Direct debit date of request. |
| [].approvedAt | No | string or null <date> Direct debit date of approval by Capway |
| [].signedDate | No | null Direct debit date of signature. |
| [].validfrom | No | string or null <date> Direct debit valid from date at the bank |
| [].validuntil | No | string or null <date> Direct debit valid until date at the bank |
| [].closedAt | No | string or null <date> Date when the direct debit has been terminated. |
| [].rejectedAt | No | string or null <date> Date when the bank rejected the application for direct debit. |
| [].rejectReason | No | string or null Reason for rejection provided by the bank in plain text when rejectedAt contains a date. Returns null when rejectedAt has no date. |
No error codes are returned by this call. The response is empty when no matching direct debit mandates are found.
