Skip to content

Payment

After your Glomo account is activated, you can begin accepting live payments. Each payment attempt made by a customer is recorded as a payment entity, representing their effort to complete the transaction.


Payment States

Below are the states a payment can have :-

StateDescription
In Progress This is the initial state after payment creation, indicating that the payment has been initiated but not yet completed.
Success The payment has been successfully completed by the customer.
Action required Additional information is needed to process the payment.
Failed The payment could not be processed successfully.

Payment Life Cycle

An overview of the payment lifecycle process :-

Payment Life Cycle


Error Codes

Certain failures return an error code, a concise identifier accompanied by a short message. These codes make it simple to detect and handle issues, such as payment declines, within your integration. Refer to this Glomo error code reference for code meanings and suggested remediation steps.

Error CodeDescription
PAYMENT_DECLINEDThe payment attempt was declined. This could be due to issuer rejection, risk assessment, or restrictions on the card or account. The customer should contact their bank or try a different payment method.
INVALID_CARD_NUMBERThe card number entered is invalid. This may be due to an incorrect number, unsupported card format, or a failed checksum validation.
CARD_EXPIREDThe card has expired and can no longer be used for transactions. The customer must provide a valid, non-expired card.
INVALID_CARDThe card is not valid for processing. This may occur due to restrictions such as card being blocked, canceled, not enabled for e-commerce, or not supported by the payment processor.
INVALID_CARD_CVVThe security code (CVV) provided is incorrect or invalid. The customer should verify and re-enter the correct code from their card.
INVALID_CARD_EXPIRY_DATEThe card expiration date provided is invalid or not formatted correctly. Ensure both the month and year are entered accurately.
CARD_NOT_SUPPORTEDThe card is not supported for the transaction. This may be due to an unsupported card type, currency combination, or issuer restriction.
CARD_LIMIT_EXCEEDEDThe transaction amount exceeds the card's permitted spending limit. The customer should contact their bank or use an alternate payment method.
INVALID_PHONE_NUMBERThe phone number provided is missing, malformed, or fails validation checks. Ensure the number is entered in the correct international format.
INVALID_EMAILThe email address entered is invalid or improperly formatted. A valid email is required for the transaction or verification process.
INVALID_OTPThe One-Time Password (OTP) entered is incorrect or expired. The customer should retry or request a new OTP.
INVALID_PINThe PIN entered is incorrect or not accepted by the card issuer. This may occur for debit or prepaid card transactions requiring PIN verification.
OTP_LIMIT_EXCEEDEDToo many incorrect OTP attempts have been made. The customer must wait before attempting again or use an alternate method.
DECLINED_DUE_TO_RISKThe transaction was flagged and declined by the system's fraud or risk engine. This may be due to suspicious behavior, geolocation, velocity checks, or internal rules.
DECLINED_BY_ISSUING_BANKThe card issuer declined the transaction. Common reasons include insufficient funds, invalid card status, or restrictions imposed by the bank.
INSUFFICIENT_BALANCEThe account linked to the card does not have enough funds to complete the transaction.
3DS_AUTHENTICATION_FAILEDThe 3D Secure authentication failed. The customer should verify their identity with their bank or try again.
CARD_DISABLED_FOR_ONLINE_PAYMENTThe card is disabled for online payments. The customer should contact their bank to enable online transactions or use a different payment method.