Create Customer Direct Debit Mandate
Creates a new customer direct debit mandate
PUT /v1/Customers/{customerGuid}/DirectDebitMandates
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| customerGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| directDebitMandateType | Yes | integer Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden). |
| receivingBankAccountNo | Yes | string Bank account number of the receiving part. |
| sendingBankAccountClass | No | integer Sending (payer) bank account class. 9 = Bankaccount (Sweden). |
| sendingBankAccountNo | No | string Direct debit bank account number of the sending (payer) part. |
| referenceNo | No | string Direct debit mandate reference number. |
| requestedAt | No | string Direct debit date of request. |
| approvedAt | No | string Direct debit date of approval. |
| signedDate | No | string Direct debit date of signature. |
| validfrom | No | string Direct debit "valid from" date. |
| validuntil | No | string Direct debit "valid to" date. |
Response fields
Mandatory describes null handling: No means the source permits null, while Yes means it does not. Field meaning remains TBD until confirmed.
HTTP 201
Media types: application/json, application/vnd.error+json.
| Field path | Mandatory | Description |
|---|---|---|
| mandateGuid | No | string Direct debit mandate GUID. |
| directDebitMandateType | Yes | integer Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden). |
| referenceNo | No | string Direct debit mandate reference number. |
| bankAccountNo | No | string Direct debit bank account number. |
| requestedAt | No | string Direct debit date of request. |
| approvedAt | No | string Direct debit date of approval. |
| signedDate | No | string Direct debit date of signature. |
| validfrom | No | string Direct debit "valid from" date. |
| validuntil | No | string Direct debit "valid to" date. |
| closedAt | No | string Date when the direct debit has been terminated. |
| links | No | array of object Links to events, invoice, case, etc. |
| links[].type | No | string Type of object |
| links[].name | No | string Type of relation |
| links[].href | No | string URI to object |
| links[].resource | No | string Resource type |
| links[].guid | No | string Resource guid |
HTTP 400
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 401
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 403
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 408
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
