Logo

Response Codes

The table below lists response/result codes returned by the SDK/plugin. Handle these codes in your UI and backend reconciliation logic.

Response CodeMessage
0APPROVED
-1Transaction timeout
-2Device attestation error or security flaw
-3Invalid activation code
-4Transaction connection error
-5Transaction sending error
-6Transaction receiving error
-7Transaction pack request message error
-8Transaction unpack response message error
-9Original transaction NOT exist
-10Transaction has been voided
-11Not support refund
-12Not support void
-13Host declined the transaction
-14User cancelled the transaction
-15Transaction was aborted with some reasons, please try to get device status or do warmup
-16Transaction amount exceeds the allowed contactless transaction limit
-17The transaction is declined by the card and cannot perform the transaction
-18Invalid card, please change another card and retry
-19Invalid EMV parameters, please check EMV configurations
-20Card reading incomplete, please tap and hold card steadily
-21Our service is temporarily not available to process your payment, please check the payment status in backend portal
-22Device not activated
-23Invalid request
-24Bluetooth can not detect MPOS D177 device, please check the MPOS D177 is available or not
-25Bluetooth disconnected now, please check the MPOS D177 is available or not
-26Bluetooth disabled now, please enable it
-27The location permission is missing now, please allow it
-100Unexpected error, need to restart SoftPOS application by warmup

You can reference these numeric codes from Transactionsuccess.rspCode. Map them to user-friendly messages and retry/fallback logic in your app.