Skip to content

Direct Debit Payments

A Direct Debit payment records each attempt to collect money from a customer’s bank account, including the amount, collection date, outcome, and provider status. These records are created by collection runs, so the API exposes them read-only for monitoring and reconciliation.

/backend/api/v1/directDebitPayments/ID - fetch the Direct Debit payment with the specified ID.

/backend/api/v1/directDebitPayments/ - list all Direct Debit payments.

/backend/api/v1/payments/ID/directDebitPayments/ - list the Direct Debit collection attempts for the payment with the specified ID.

ParameterTypeRequiredDescription
idAfterintegerNoOnly include payments with a higher ID
createdSincedatetimeNoOnly include payments created since the given time
updatedSincedatetimeNoOnly include payments updated since the given time
FieldNameTypeDescription
ourReferenceOur ReferenceTextInternal reference number for this direct debit payment
customerReferenceCustomer's ReferenceTextReference number provided by the customer for this direct debit payment
directDebitAccountIDDirect Debit AccountTextThe direct debit account used for this payment
directDebitRunDirect Debit RunPreset ValueThe direct debit run this payment is part of
directDebitPaymentAmountAmountCurrencyThe amount to be collected via direct debit
collectionDateCollection DateDateThe date when the direct debit collection is scheduled
statusPayment StatusPreset ValueCurrent status of the direct debit payment
directDebitPaymentSetupStampRequested DateDateDate when the direct debit payment was requested
directDebitPaymentTakenStampTaken DateDateDate when the direct debit payment was successfully taken
directDebitPaymentFailedStampFailed DateDateDate when the direct debit payment failed
providerStatusProvider StatusTextStatus code returned by the direct debit provider
providerStatusDetailProvider Status DetailTextDetailed status information from the direct debit provider
providerPaymentReferenceProvider ReferenceTextReference number assigned by the direct debit provider
retryCountRetry CountNumberNumber of times collection has been attempted
idDirect Debit Payment IDTextThe unique identifier for this direct debit payment