Transaction Response


Transaction result link

To determine the result of a transaction there is a field in the response called “Transaction Outcome”.
This is the only field you should use to decide if a transaction was approved or not.

{
  "terminalRrn": "123456789012",
  "timestamp": "220420085819",
  "transactionId": "123456789012",
  "transactionOutcome": "Approved",
  "transactionType": "Payment",
}

The possible values for transaction outcome is: Approved, Declined, Cancelled

Response codes link

Transaction responses contain a response code according to ISO8583 in field “isoResponseCode”. As an integrator you are not allowed to provide an explanation to the operator what the response code means. Both to protect cardholder privacy but also to not enable fraudulent behavior: If a card has been reported stolen the owner of the card would know that.

Instead you can use the /Dialogs endpoint to fetch the error message from the terminal display. These messages are put into “error groups” and will direct the cardholder to the solution of the problem without compromising on privacy or security. For example in the case of a technical error or incorrect PIN code the terminal might display “Please try again”, while a stolen card or insufficient funds will display “Contact card issuer”.