Return SEPA Direct Debit transaction
Returns a SEPA Direct Debit transaction to the originator.
Overview
This endpoint returns a SEPA Direct Debit transaction to the originator. Use this when you cannot process the debit due to account issues or customer disputes.Common Return Scenarios
- Insufficient funds
- Account closed or blocked
- No valid mandate
- Customer dispute
Requirements
- Transaction must be in a returnable state
- Valid return reason code required
- Return must occur within the allowed timeframe (see Timeframes below)
Timeframes & Reason Codes
This endpoint carries both returns and refunds - the reason code decides which, and each has its own deadline (Centrolink rejects anything outside the window):- Return - technical reasons such as
AC04orAM04, up to 5 business days after settlement. - Refund of an authorised collection -
MD06(customer dispute), up to 8 weeks after the debit date. - Refund of an unauthorised collection -
MD01(no valid mandate), up to 13 months after settlement.
SEPA SDD Return Reasons
This document lists the supported SEPA Direct Debit (SDD) return reason codes that can be used when returning an SDD transaction, because the service /v1/transactions/:return is used not only for SDD payment returns.Validation Rules
- The
reasonfield must be one of the supported values listed below. - Using an unsupported reason code (for example
FOCR) will result in aVALIDATION_ERROR.
Supported Return Reason Codes
Account-related
- AC01 – Incorrect Account Number
- AC04 – Closed Account Number
- AC06 – Blocked Account
Bank / Agent-related
- AG01 – Transaction Forbidden
- AG02 – Invalid Bank Operation Code
- RC01 – Bank Identifier Incorrect
Amount-related
- AM04 – Insufficient Funds
- AM05 – Duplication
Mandate / Authorization
- MD01 – Unauthorized Transaction
- MD06 – Disputed authorized transaction (Only for refunds)
- MD07 – End Customer Deceased
Missing information
- RR01 – Missing Debtor Account or Identification
- RR02 – Missing Debtor Name or Address
- RR03 – Missing Creditor Name or Address
Not specified reason
- MS02 – Not Specified Reason Customer Generated
- MS03 – Not Specified Reason Agent Generated
Regulatory / Other
- RR04 – Regulatory Reason
- SL01 – Specific Service offered by Debtor Agent
- BE05 – Unrecognized Initiating Party
Example Error Response
Path Parameters
Transaction ID.
Body
Return reason. All payment methods; the accepted codes differ per method — see the operation description.
AC01, AC04, AC06, AG01, AG02, AM04, AM05, BE04, BE05, CNOR, ERIN, FF05, FOCR, MD01, MD06, MD07, MS02, MS03, RC01, RR01, RR02, RR03, RR04, SL01, AM09, BE01, FRAD, UPAY, DUPL, NARR, RC03, RC04, INDM, LEGL, NOAS, AGNT, BE08, CUST Free-text return reason, max 105 characters. T2 only; ignored for other payment methods. Mandatory when reason is NARR, must be empty otherwise.
105Compensation amount. SEPA Direct Debit only; ignored for other payment methods.
Tax amount. SEPA Direct Debit only; ignored for other payment methods.
Response
Returned transaction
Payment amount in minor currency units
SEPA payment currency code
Time and date when transaction was created
Payment amount in minor currency units
SEPA payment currency code
Transaction ID
Name of the status
Hard value of status
Status id, all statuses can be retrived using API getTransactionStatuses
Type name
Type id, all transaction types can be retrieved using API getTransactionTypes
Payment compensation amount
Information about inbound transaction
Provides further details of the direct debit mandate signed between the creditor and the debtor.
Payment return originator bic
Payment return originator name
Payment return originator reason code
Payment return originator reason information
Information about outbound transaction
Original transaction amount
Transaction id for parent transaction
Payment return tax amount
Sepa transaction ID
Identifies the direct debit sequence, such as first, recurrent, final or one-off.
FRST, RCUR, FNAL, OOFF If there is some error, it is displayed in status reason or processing info tags
Payment unaccounted tax amount
Time and date when transaction was last updated