Payment Errors

This page lists the errors returned by inai when there's a payment failure.

INAI ERROR

Description

AUTHENTICATION_FAILED

The Payment Gateway rejected the merchant's credentials.

CARD_BLOCKED

The given card was rejected because it's probably blocked.

CARD_DECLINED

The given card was declined by the Payment Gateway.

CARD_EXPIRED

The given card was rejected because it has expired.

CHARGE_EXPIRED

CREDIT_LIMIT_EXCEEDED

The payment was rejected because the charge would exceed the card's credit limit or because the card has already exceeded its credit limit.

INSUFFICIENT_FUNDS

The payment was rejected because the customer does not have sufficient funds.

INVALID_AMOUNT

The Payment Gateway rejected the charge because the amount is invalid. This can happen if the amount is too low for the given Payment Gateway or if the amount is not valid to charge, for example, if it is negative or not a number.

INVALID_CARD_DETAILS

INVALID_CARD_EXPIRY_DATE

The charge was rejected because the expiration date was invalid.

INVALID_CARD_HOLDER_NAME

The charge was rejected because the card holder name was invalid.

INVALID_CARD_TYPE

INVALID_CURRENCY_CODE

The charge was rejected because an invalid currency code was given.

This can happen because there's no such currency or because the Payment Gateway does not support the given currency.

INVALID_CVC

The charge was rejected because the given CVC code is not a valid CVC code.

INVALID_EMAIL

The charge was rejected because an invalid email address was given.

INVALID_MOBILE_NUMBER

The charge was rejected because an invalid mobile number was given.

INVALID_NUMBER

The card number is invalid. Check the card details or use a different card.

INVALID_OTP

The charge was rejected because an invalid OTP was given.

INVALID_PIN

The given card's PIN code was invalid.

INVALID_VPA

OTP_ATTEMPTS_EXCEEDED

The charge was rejected because the customer has exceeded the allowed OTP attempts.

OTP_EXPIRED

The charge was rejected because the customer has exceeded the allowed time to enter a OTP.

PAYMENT_FAILURE

This is a generic payment error.

PIN_ATTEMPTS_EXCEEDED

The charge was rejected because the customer has exceeded the allowed PIN retries.

PROCESSOR_DECLINED

This is a generic Payment Gateway error.