Direct debit deposit error codes
This page provides a list of general errors and detailed descriptions when you retrieve a direct debit deposit from Linked Accounts with a failure status (one of REJECTED
or REVERSED
) via Get a list of deposits API or Get a deposit by ID API, after receiving a webhook event.
For a direct debit deposit with a failure status, the response contains a failure_details
object with:
code
: Error code for this direct debit depositiso_code
: Error code according to ISO 20022 standardsprovider_failure_details
: If the error originated from the local clearing system, the response will contain this object with:local_clearing_system
: name of the direct debit scheme e.g. United Kingdom Bacs (UK_BACS
)code
: error code directly from the clearing systemmessage
: error message directly from the clearing system
Please refer to the scheme-specific errors that could be returned under provider_failure_details
for each region under Direct debit scheme and mandate requirements.
We recommend using the Airwallex error code
or the iso_code
for systematic exception handling. The code
from provider_failure_details
can be used for troubleshooting against the clearing system rules, but it is not advised for systematic handling because the clearing system may update it from time to time.
General error codes with example response
A general error occurs when the request to Create a deposit via Direct Debit API fails Airwallex’s review or validation, before it is sent to the local clearing system. The deposit will result in the REJECTED
status. As mentioned above, the response will not contain the provider_failure_details
object since the error is from Airwallex.
code | iso code | description |
---|---|---|
regulatory_reason | RR04 | The transaction is rejected for regulatory reasons. Contact your account manager for further information. |
invalid_date | DT01 | For GB_BACS_DEBIT , you can only create one direct debit deposit per business day for each Linked Account. Please retry the next business day. |
syntax_error | FF02 | The direct debit deposit creation is rejected for general validation errors (e.g. the field contains special characters). Contact your account manager for further information. |
insufficient_funds | AM04 | The available balance in the Linked Account is insufficient. Please ensure funds are added to the Linked Account and retry. |
amount_exceeds_agreed_limit | AM14 | Deposit amount exceeds the remaining Direct Debit or Faster Direct Debit limit. |