Direct Debits
Create a Direct Debit mandate for the given account-id.
Setting up a Mandate is the first step in creating a Direct Debit. You can only set up scheduled payments ('collections') after there is a Mandate created with the details of the payee.
post/accounts/{accountId}/mandates
Path parameters
accountIdstring required
Id of account to create Direct Debit for.
Request body
Example request
{
"reference": "REFER-1.2",
"sortCode": "000000",
"accountNumber": "12345678"
}Response
OK
Example response
{
"id": "G0000001",
"accountId": "A0000001",
"createdDate": "2017-01-28T01:01:01+0000",
"status": "ACTIVE",
"nextValidCollectionDate": "2018-01-10",
"sortCode": "123456",
"accountNumber": "87654321",
"payeeAccountBid": "A0000001",
"bulkCreateRequestId": "R210000005",
"bulkCancelRequestId": "R210000006"
}