Skip to content

Transaction Status/Errorcode

1. Transaction Status

After PayerMax accepts your order request, you can sense the payment status through Transaction Inquiry or notification. You can obtain transaction status to formulate business processes. The status is as follows:

StatusDescriptionRemark
SUCCESSSuccessful transactionUser's payment is successful
PENDINGTransaction processingWait for user to complete payment
FAILEDTransaction failedPayment failed
CLOSEDTransaction closedThe user did not complete the payment within the validity period

When the order is unsuccessful, PayerMax will provide an error code so that you can analyze the reason for the failure.

2. Errorcode

PayerMax’s external API provides stable services. If an exception occurs, you will be notified of the error message in the body of the http interface response, for example:

json
{
	"msg": "The amount doesn't match the payment method requirement.",
	"code": "AMOUNT_LIMIT"
}

Similarly, in asynchronous callbacks, failure information will also be responded to, for example:

json
{
	"msg": "Payment was not completed on time.",
	"code": "PAYMENT_FAILED",
	"data": {
		"reference": "JOLLY",
		"country": "TH",
		"totalAmount": 300,
		"outTradeNo": "TP002024051309261650130939",
		"currency": "THB",
		"tradeToken": "T2024051309124735760727",
		"paymentDetails": [],
		"status": "CLOSED"
	},
	"keyVersion": "1",
	"appId": "5a48dcf440074021b87d4ef901bf9629",
	"merchantNo": "SP18440851",
	"notifyTime": "2024-05-13T10:28:03.606Z",
	"notifyType": "PAYMENT"
}

If the transaction is accepted normally, the returned code is "APPLY_SUCCESS".


2.1 Errorcode List

CategoryResult CodeDescriptionComments
System ExceptionSYSTEM_ERRORSystem is busy, please try again later.System error; please contact PayerMax
REQUEST_TIMEOUTRequest timeout or didn't get result, If you have finished to pay, pls wait for the result.Request timeout; please contact PayerMax
UNEXPECTED_ERRORNo further information for the error, plz try it later.Unknown error; please contact PayerMax
Basic Verification ExceptionSIGN_VERIFY_FAILEDThe signature verify failed.Signature error; please verify the signature
MERCHANT_INVALIDThe merchant has been offline.Invalid merchant
MERCHANT_APP_INVALIDSignature key is not configured.Invalid merchant APP
PARAMS_INVALID${field} length must be between ${min} and ${max},but your input value length is ${length}.Make sure all requests length is correct.Invalid parameter - input field length does not meet requirements; please refer to the official website field description
PARAMS_INVALID${field} must be ${type} , but your input is ${valueType}.Make sure all requests type is correct.Invalid parameter - input field type is incorrect; please refer to the official website field description
PARAMS_INVALID${field} is invalid,because ${field} is null.Invalid parameter - input field cannot be empty; please refer to the official website field description
Business Verification exceptionAMOUNT_INVALIDAmount is incorrect.Invalid amount
COUNTRY_INVALIDNo country support, pls re-pay.Invalid country; refer to Supported Countries and Currencies
CURRENCY_INVALIDcurrency is invalid,because currency is not defined.Invalid currency; refer to Supported Countries and Currencies
CONTRACT_INVALIDMerchant has no activated contract, please check the contract status.Invalid contract; please check contract validity
CONTRACT_INVALIDMerchant has not signed the contract in ${value}.Specified country/region is not contracted; please check contract validity
CONTRACT_INVALIDMerchant has not signed the ${paymentMethod} payment method.Specified payment method is not contracted; please check contract validity
CONTRACT_INVALIDMerchant has not signed the ${targetOrg} target origination correspondingly, although you have signed the ${paymentMethod} payment method.Specified target organization is not contracted; please check contract validity
CONTRACT_INVALIDMerchant has not signed the ${currency} currency correspondingly, although you have signed the ${paymentMethod} payment method.The specified payment method is contracted, but the specified currency is not contracted; please check contract validity
CONTRACT_INVALIDMerchant has not signed the ${currency} currency correspondingly, although you have signed the ${paymentMethod} payment method and the ${targetOrg} target origination.The specified target organization is contracted, but the specified currency is not contracted; please check contract validity
PAYMENT_METHOD_NOT_EXISTThe payment method does not exist.Payment method does not exist; please try other payment methods
PAYMENT_METHOD_SUSPENDThe payment method already suspend, plz try other payment methods.Payment method temporarily unavailable; please try other payment methods
AMOUNT_LIMIT_MINIMUMThe order amount is lower than the minimum limit of the payment method.Minimum amount limit
AMOUNT_LIMIT_MAXIMUMThe order amount exceeds the maximum limit of the payment method.Maximum amount limit
AMOUNT_LIMITThe amount doesn't match the payment method requirement.Amount limit
ORDER_REPEATThe order number repeat.Duplicate order
ONBOARD_ERRORPlease complete the merchant onboarding, then refresh the page.Merchant not registered; please complete registration first
PAYMENT_PROCESSINGThe payment is processing, pls check the result.Payment processing; please try again later
PARTICIPANT_INVALIDInvalid participant.Invalid settlement participant
ORDER_CLOSEDThis order has been closed.Order closed
BALANCE_INSUFFICIENTInsufficient balance to pay, please confirm payment account available balance.Insufficient balance
OTP_VERIFY_LIMITOTP verification exceeds limit.OTP verification exceeds limit
OTP_VERIFY_FAILEDOTP verification failed.OTP verification failed
OVER_VERIFY_LIMITExceeded the number of verifications.Exceeded verification attempts
BARCODE_REFRESH_LIMITOver barcode refresh times.Barcode refresh limit
BARCODE_REFRESH_FAILEDBarcode refresh failed.Barcode refresh failed
CARD_INVALIDMake sure the card number is correct.Invalid card number
CARD_EXPIRE_DATE_INVALIDInvalid card number validity periodInvalid card expiration date
CARD_HOLDER_NAME_INVALIDInvalid cardholder nameInvalid cardholder name
CVV_INVALIDCvv is incorrect, pls check.Invalid CVV
UNSUPPORT_CARDThis card don't support, please change another card.Card not supported
ACCOUNT_INVALIDYour account is invalid or not active, please confirm and re-enter.Invalid account
PHONE_NUM_INVALIDThe phone number is invalid, pls check and re-enter.Invalid phone number
UPI_INVALIDUPI is incorrect.Invalid UPI
PIN_VERIFY_LIMITPin verification exceeds limitPIN verification exceeds limit
PIN_INVALIDPin is invalidInvalid PIN
BANKCODE_INVALIDInvalid bank card number.Invalid bank card number
ID_NUM_INVALIDInvalid ID numberInvalid ID number
EMAIL_INVALIDYour email is invalid, or your account is not active, please confirm and re-enter.Invalid email
DOCUMENT_INVALIDInvalid document.Invalid document
TCK_INVALIDTC Kimlik No. is incorrect.Invalid TC Kimlik No.
DATE_INVALIDThe data format is error, please check.Invalid date
PAYEE_NAME_INVALIDYour name is invalid, or does not match, please confirm and re-enter.Invalid payer name
REMARK_INVALIDInvalid remarkInvalid remark
CNIC_INVALIDThe CNIC is incorrect, pls confirm and re-enter.Invalid CNIC
ACCOUNT_BLOCKEDPayer account/card blocked or frozen. Pls confirm payment account/card status.Account locked/frozen
PAYMENT_CANCELEDpayment canceled.User canceled payment on third-party platform
PAYMENT_TOKEN_ID_INVALIDPaymentTokenID is invalid. Please confirm if it has been authorized and boundpaymentTokenId is invalid, please check if input is correct or if it has been unbound
MER_CONFIG_ERRORMerchant config error. Please contact us to check your dynamic3DS configuration.Merchant has not enabled dynamic 3D function
AUTH_NOT_SUPPORTThe contract does not enable the Auth-Capture.Contract has not enabled Auth-capture function
PRE_AUTH_NOT_SUPPORTThe merchant does not support the PRE_AUTH.Merchant has not enabled PRE_AUTH function
RDR_REFUNDED_NOT_SUPPORT_RETRYThis transaction has been triggered by RDR. A refund has already been successfully processed by the issuing bank. Merchants are not allowed to initiate any additional refund requests for this transaction.Order has initiated RDR, cannot initiate refund again
ORDER_CLOSE_FAILEDorder already success or failed, cannot be closedFailed to close order, order is already successful or failed; please check order status
ACCOUNT_VALIDATION_INVALIDPlease complete the account verification firstly.Account verification not completed, please complete account verification first
PAYMENT_PROCESSING_BANKTRANSFERThe previous payment is still processing, please make sure that you have made the bank transfer. Otherwise, please wait for 10 minutes to initiate a new request.Previous payment is processing, please confirm bank transfer is completed, otherwise wait 10 minutes and retry
REQUEST_PARAM_INVALID[amount.value] must be greater than zeroInvalid request parameter, amount must be greater than zero
INSUF_BAL_FALLBACKYour account balance is insufficient to cover the amount. Please check your account balance.Insufficient account balance, please check account balance
ONLY_ONE_AUTH_CHANNEL_ALLOWEDonly one authorization channel is allowedOnly one authorization channel is allowed
ISSUER_PAYMENT_REJECTEDTransaction failed at issuer end due to risk control. Please try using a different card or contact your issuer for more detail.Transaction rejected by card issuer due to risk control, please change bank card or contact card issuer
AMOUNT_LIMITThe amount exceeds user amount limit.User amount limit
AMOUNT_LIMITThe amount exceeds the limit for per transaction limit.Single transaction amount limit
AMOUNT_LIMITExpired card.Daily transaction amount limit
CARD_INVALIDCard scheme is not supported.Card expired
CARD_INVALIDOnly support the card which issue by local bank, pls change local card.Card scheme not supported
CARD_INVALIDorder already success or failed, cannot be closedOnly local bank cards supported
OTP_VERIFY_FAILEDOTP verify failed.OTP verification failed
PAYMENT_METHOD_NOT_EXISTBank temporarily not available, please retry later.Bank temporarily unavailable, please retry later
PAYMENT_METHOD_SUSPENDThe payment method is in maintenance, please try again later.Payment method under maintenance, please try again later
PAYMENT_FAILEDTransaction declined.Transaction declined
PAYMENT_FAILEDThere is no channel to support the payment.No available payment channel
PAYMENT_FAILEDPayment was not completed on time.Payment timeout not completed
PAYMENT_FAILEDProvider failed to process.Payment failed
Authorization ExceptionAUTHENTICATE_FAILEDYour payment was declined due to authentication failure. Please try using a different card or contact your issuer for more detail.Authorization failed
AUTH_EXPIREDThe authorization has expired, pls rebind.Authorization expired
AUTH_FAILEDAuthorization failed.Authorization failed or does not exist
Transaction RejectionRISK_FAILEDThis transaction was automatically blocked due to identified risk.Transaction blocked due to identified risk
RISK_FAILEDThe payment has reached the security limit. Please advise the user to try another payment method or attempt the transaction again later.User payment reached security limit/quota, suggest trying other payment methods
RISK_FAILEDThe payment has exhibited suspicious activity. We suggest that the user use a local card or disable their VPN before trying again.Suspicious payment activity detected, suggest using local bank card or disabling VPN before retrying
RISK_FAILEDThe payment was declined due to unusual activity from the user. We recommend changing to a different payment method and attempting the transaction again.Payment rejected due to high transaction risk, suggest user try other payment methods
ISSUER_PAYMENT_REJECTEDDevice IP restriction,please make sure your VPN is turned off when making the payment for security reason.Device IP restricted, please disable VPN and retry
PAYMENT_REJECTEDTransaction failed at processor end due to risk control.Please try using a different payment method/card.
Merchant RejectionRISK_BLACK_LIST_FAILEDThe payment was declined due to high risk with the payment.Transaction hit merchant-side blacklist, details can be viewed in MMC
Declined by the card issuerISSUER_PAYMENT_REJECTEDTransaction failed at issuer end due to risk control. Please contact your payment method issuer for more detail.Transaction rejected by card issuer, please consult card issuer for details
InquiryORDER_NOT_EXISTThe order does not exist.Order does not exist
RefundREFUND_FAILEDThe payment method does not support partial refund.Refund failed - payment method does not support partial refund
REFUND_FAILEDThe payment method does not support refund.Refund failed - payment method does not support refund
REFUND_FAILEDThe refund amount is too small to refund.Refund failed - refund amount too small
REFUND_NO_INVALIDRefundNo shouldn't same with TradeNo.Invalid refund number
REFUND_INSUFFICIENT_BALANCEInsufficient Txn currency in the to be Settled Account.Insufficient balance to process refund
ORDER_NOT_EXISTThe orginal order does not exist.Refund order does not exist

Released under the MIT License.