Skip to content

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 ​

FieldLocationMandatoryDescription
customerGuidpathYesstring

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 pathMandatoryDescription
directDebitMandateTypeYesinteger
Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden).
receivingBankAccountNoYesstring
Bank account number of the receiving part.
sendingBankAccountClassNointeger
Sending (payer) bank account class. 9 = Bankaccount (Sweden).
sendingBankAccountNoNostring
Direct debit bank account number of the sending (payer) part.
referenceNoNostring
Direct debit mandate reference number.
requestedAtNostring
Direct debit date of request.
approvedAtNostring
Direct debit date of approval.
signedDateNostring
Direct debit date of signature.
validfromNostring
Direct debit "valid from" date.
validuntilNostring
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 pathMandatoryDescription
mandateGuidNostring
Direct debit mandate GUID.
directDebitMandateTypeYesinteger
Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden).
referenceNoNostring
Direct debit mandate reference number.
bankAccountNoNostring
Direct debit bank account number.
requestedAtNostring
Direct debit date of request.
approvedAtNostring
Direct debit date of approval.
signedDateNostring
Direct debit date of signature.
validfromNostring
Direct debit "valid from" date.
validuntilNostring
Direct debit "valid to" date.
closedAtNostring
Date when the direct debit has been terminated.
linksNoarray of object
Links to events, invoice, case, etc.
links[].typeNostring
Type of object
links[].nameNostring
Type of relation
links[].hrefNostring
URI to object
links[].resourceNostring
Resource type
links[].guidNostring
Resource guid
HTTP 400

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 401

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 403

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 408

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.