Magic numbers

When testing your integration using an EFTPOS terminal, there are certain transaction amounts that you can enter to force specific response codes to be returned — just like magic!

Introduction

What are 'magic numbers' and how do they work? Here's an example: you need to test what happens when the terminal returns a 'Do not honour' response. To do so, you make a transaction of $0.05. Since '0.05' is the magic number for 'Do not honour', this forces the terminal to return 'Do not honour' instead of the usual response.

In Gecko Bank, all transaction amounts above $1.00 will force an 'Approved' response, whereas all amounts less than $1.00 are reserved for magic numbers that return different responses. You can find these magic numbers in the list below.

📘

Note:

List of magic numbers

Magic numberResponse codeISO 8583 codeISO 8583 descriptionAS 2805 description
$1.00 or more00APPROVEDApproved or completed successfully
$0.011107REJECTED_CALL_ISSUERRefer to card issuer
$0.033109REJECTED_INV_PAYEEInvalid merchant
$0.055100REJECTEDDo not honour
$0.066913ERROR_DUPLICATEError
$0.0881APPROVED_VERIFY_IDHonour with identification
$0.11113APPROVED_VIPApproved VIP
$0.1212902ERROR_INV_TRANSACTIONInvalid transaction
$0.1313110REJECTED_INV_AMOUNTInvalid amount
$0.1414111REJECTED_INV_PANInvalid card number (no such number)
$0.1515908ERROR_UNABLE_FWDNo such issuer
$0.1919903ERROR_REPEATTransaction error, re-enter transaction
$0.3030904ERROR_SYNTAXFormat error
$0.3939114REJECTED_INV_ACCOUNT_TYPEAccount type error
$0.4141208REJECTED_TC_LOST_CARDLost card
$0.5151116REJECTED_INSUFFICIENT_FUNDSNot sufficient funds
$0.54541001REJECTED_CARD_EXPIREDExpired card
$0.5555117REJECTED_INV_PINIncorrect PIN
$0.5656118REJECTED_UNKNOWN_CARDNo card record
$0.6161121REJECTED_EXCEEDS_WITHDRAW_LIMITExceeds withdrawal amount limits
$0.6262104REJECTED_RESTRICTED_CARDRestricted card
$0.6565123REJECTED_EXCEEDS_TIME_LIMITExceeds withdrawal frequency limit
$0.6868907ERROR_NO_CONN_ISSUERResponse received too late
$0.7575106REJECTED_PIN_TRIES_EXCEEDEDAllowable number of PIN tries exceeded
$0.8383114REJECTED_INV_ACCOUNT_TYPEInvalid account
$0.8787111REJECTED_INV_PANInvalid track
$0.9191908ERROR_NO_CONN_ISSUERIssuer of switch inoperative
$0.9494913ERROR_DUPLICATEDuplicate transmission
$0.9898916ERROR_MACMAC error