Decode the response

(, )  Change

The response you receive on your transaction is encoded or formatted in the same format as the transaction request. To make this data more accessible, decode it and store it in an array or a similar object.

Parse the response

(, )  Change

Once you decode the transaction response and store it in an easily accessible object, you can parse the data to retrieve any fields that you need.

All API operations contain a result field in the response. This field indicates the overall result and status of your transaction. Use it to determine different processing options within your app. For example, if the transaction result value is a SUCCESS, you can record it as being processed successfully. If the result is a FAILURE, you can look further at the transaction response to determine whether the payer must retry the transaction or whether you must execute another process within your app.

Frequently asked questions

What should I do if I do not receive a response?
When you do not receive a response, wait for 60 seconds, and try to resubmit an identical request. If the gateway has received the original request and the new one is a duplicate, in that case the bank transaction is not repeated, and no duplicate funds are transferred. You will receive the same response as you would have received for the first request.

How do I know if a transaction is approved from the ANZ eGate payment gateway?
All approved transactions are represented with a Transaction Response Code value of APPROVED from the ANZ eGate payment gateway. To verify, you can view the value of the response.gatewayCode field in your transaction response.

On This Page


Resources

Downloads Plugins Glossary FAQs

Copyright © 2025 ANZ Worldline Payment Solutions