fixed

Failure code and failure reason fix for Payment API

Azupay clients have observed that when a payment fails, the response usually includes a specific status code and reason, such as AC02: The Debtor Account Number is invalid or missing.

However, in cases where the payment fails due to insufficient balance in the Azupay client account, the API returns a 400 Bad Request response without a specific failure status code or detailed reason. This lack of clarity makes it challenging for Azupay clients to accurately identify and track the cause of failure. This recent fix includes updates to failure codes and corresponding reasons so that clients may more easily understand the cause of an outbound payment failure.

Refer to this page for Payment error codes & reasons - NPP used codes & reasons:
https://developer.azupay.com.au/docs/making-payments#/failure-reason-codes---npp

Refer to this pay for Azupay specific Payment error codes & reasons:
https://developer.azupay.com.au/docs/making-payments#/failure-reason-codes---azupay-specific