MineSec Pay 7
API Reference
Response Code

POS API Response Code

The same codes are returned through App2App, the Local PayServer and the Cloud POS Connector.

ResultCodeMessage
APPROVED0APPROVED
ERR_TIMEOUT-1Transaction timeout
ERR_INSECURITY_DEVICE-2Device attestation error or security flaw
ERR_ACTIVATION_CODE-3Invalid activation code
ERR_CONNECT-4Transaction connection error
ERR_SEND-5Transaction sending error
ERR_RECEIVE-6Transaction receiving error
ERR_PACK-7Transaction pack request message error
ERR_UNPACK-8Transaction unpack response message error
ERR_NO_ORIG_TRANS-9Original transaction NOT exist
ERR_ALREADY_VOIDED-10Transaction has been voided
ERR_REFUND_UNSUPPORTED-11Not support refund
ERR_VOID_UNSUPPORTED-12Not support void
ERR_HOST_DECLINED-13Host declined the transaction
ERR_USER_CANCEL-14User cancelled the transaction
ERR_ABORTED-15Transaction was aborted with some reasons, please try to get device status or do warmup
ERR_AMOUNT-16Transaction amount exceeds the allowed contactless transaction limit
ERR_CARD_DECLINED-17The transaction is declined by the card and cannot perform the transaction
ERR_CARD_INVALID-18Invalid card, please change another card and retry
ERR_EMV_INVALID_PARAMETERS-19Invalid EMV parameters, please check EMV configurations
ERR_EMV_CARD_READING_ABORTED-20Card reading incomplete, please tap and hold card steadily
ERR_REVERSAL_FAILED-21Our service is temporarily not available to process your payment, please check the payment status in the backend portal
ERR_NOT_ACTIVATED-22Device not activated
ERR_INVALID_REQUEST-23Invalid request
ERR_CAN_NOT_DETECT_MPOS-24Bluetooth cannot detect MPOS D177 device, please check if the MPOS D177 is available (not used by MineSec Pay 7)
ERR_BT_DISCONNECTED-25Bluetooth disconnected, please check if the MPOS D177 is available (not used by MineSec Pay 7)
ERR_BT_DISABLED-26Bluetooth disabled, please enable it (not used by MineSec Pay 7)
ERR_BT_PERMISSION_MISSING-27The location permission is missing, please allow it (not used by MineSec Pay 7)
ERR_SERVER_BUSY-28Device is busy — a transaction is already in progress
ERR_CARD_DECLINED_GAC2-29The card declined the transaction in GAC2
ERR_QR_PAYMENT_FAILED-30QR payment failed, please try it again
ERR_QR_PAYMENT_TIMEOUT-31QR payment time out, please try to query it
ERR_NO_SUPPORTED_QR_METHOD-32No supported QR payment method detected
ERR_UNEXPECTED-100Unexpected error, need to restart MineSec Pay 7 by warmup
ERR_UNKNOWN_ERROR999Unknown/unexpected error

Detailed error categories

These codes give more detail about where a failure happened, for example in the SDK, in activation or at the acquirer host.

ResultCodeMessage
ERR_APP_AMS_PROVISION_FAILS-601The application failed to register in AMS system. This happens when the application installs on device and does the first provision process
ERR_APP_ACTIVATION_FAILS-602The activation request is denied by the TMS
ERR_APP_TMS_PROVISION_FAILS-604This happens when the application cannot properly download the parameters from TMS to set in system
ERR_APP_ENV_INSECURE_SETUP-605The application or its running environment is marked as insecure due to security detections
ERR_APP_INSECURE_STATE-606The application or its running environment is marked as insecure due to security detections
ERR_APP_NETWORK_UNREACHABLE-607The application cannot connect with the remote network. Merchant needs to check the network configuration
ERR_APP_NETWORK_TIMEOUT-608The application is waiting for a response from remote and gets a timeout
ERR_TXN_CARD_TAPPING_OR_INSERT_FAILS-609The application fails to catch the card tapping. This may happen when the user taps too fast
ERR_TXN_CARD_NOT_SUPPORTED-610This happens when the EMV process fails to verify the card
ERR_TXN_EMV_NOT_SUPPORTED-611Returns when the EMV setting on the application does not support completing the card interaction process
ERR_TXN_EMV_PRE_PROCESSING_FAILS-612Error happens when the application prepares the transaction request to be sent to the remote payment system
ERR_TXN_ONLINE_INVALID_AUTH-613MineSec Payment pre-processing system rejected to process the transaction request sent from the application
ERR_TXN_ONLINE_DUPLICATED-614The transaction was a duplicated request. The payment pre-processing system rejected to process it and provided a previous transaction result
ERR_TXN_ONLINE_NO_ORIGIN-615The original transaction linked to this operation doesn't exist. This happens when a void/refund or auth-completion operation is triggered
ERR_TXN_ONLINE_PROC_FAILS-616MineSec processing of the transaction failed before sending to the authorization system
ERR_TXN_ONLINE_MIS_CONFIGURATION-617MineSec payment pre-processing system cannot route the transaction request to the correct host system due to missing or erroneous configuration
ERR_TXN_ONLINE_REVERSED-618MineSec payment pre-processing system reversed the transaction for some reason
ERR_TXN_ONLINE_HOST_TIMEOUT-619ACQ host system connection timeout, the transaction has been reversed
ERR_TXN_ONLINE_SYSERR-620MineSec processing of the transaction failed with an unknown system error
ERR_TXN_ONLINE_ACQ_UNREACHABLE-621MineSec payment processing system cannot connect with remote authorization host
ERR_TXN_ONLINE_ACQ_SIGNON_FAILS-622MineSec payment processing system cannot sign-on to remote authorization host successfully
ERR_TXN_ONLINE_ACQ_DECLINE-623MineSec payment system received an explicit declined result from the authorization host
ERR_TXN_ONLINE_ACQ_TIMEOUT-624MineSec payment system got a timeout while waiting for a response from authorization host
ERR_TXN_ONLINE_ACQ_SYSERR-625Authorization host encountered an unknown system error that cannot be identified
ERR_TXN_ONLINE_CARD_DECLINE-626This happens when it's a contact transaction where the card declines the transaction by rejecting the second GAC operation
ERR_EXT_BT_CONN_FAILS-627Bluetooth connection to an external card reader fails (not used by MineSec Pay 7)
ERR_TXN_CANCELED_BY_USER-628The transaction request was canceled by merchant or consumer
ERR_TXN_LOCATION_NOT_ALLOWED-629transaction location is not allowed