Skip to main content

Error Scenarios

This guide outlines potential errors that may occur during enrollment creation and recurring payment requests in UPI Autopay operation.

There are synchronous error scenarios triggered by EBANX, in accordance with the product business rules and required fields.

Additionally, there are asynchronous errors that may originate from the user's bank, often related to account status or operational issues. Both types of errors are listed below.


Enrollment Creation Synchronous Errors

As detailed in the Enrollment Creation section, you can create a new enrollment by calling the /ws/userenrollment API. If your enrollment creation is unsuccessful, you may encounter the following errors in the response:

EBANX CodeEBANX MessageDetails
BP-UE-18Field enrollment.subscription.expiration_date must be a future dateIncorrect expiration date
BP-UE-03Field enrollment.email or enrollment.phone_number is requiredMandatory Field is missing
BP-UE-19Invalid vpaVPA field has incorrect information
BP-UE-17Field enrollment.subscription.min/maxamount is Required!min/max amount is blank
BP-UE-30The field subscription_name size must be between 1 and 35 characters.Subscription name character limit
BP-UE-22enrollment.customer_notify_hash must contain a valid hash.Notify hash is incorrect
BP-UE-23Field enrollment.subscription.frequency is RequiredFrequency field is blank

Enrollment Creation Asynchronous Errors


EBANX CodeEBANX MessageDetails
BP-UE-34Request with invalid paramsThe fields are sent with incorrect information
BP-UE-32Provider internal server errorPartner is facing a downtime
BP-UE-33Timeout from providerRequest timeout
BP-UE-12Failed to communicate with providerAPI access not enabled (Contact your SE)

Payment Processing Synchronous Errors


After your customer authorizes the enrollment creation, scheduling a recurring payment is straightforward and can be done through the EBANX Direct API.

If a payment request fails, you can review the error details and try again, if applicable. These scenarios are returned synchronously by EBANX in the response to your payment request, meaning the payment will not be created.


EBANX CodeEBANX MessageDetails
BP-DR-86Parameter is invalidThe parameter sent was not valid.
BP-REF-15Invalid operation: XYou are trying an invalid operation.
BP-DR-61Subscription Cycle error: This cycle already have one paymentOnly one payment can be requested per cycle. This is not applicable for on-demand enrollments

Payment Asynchronous errors - Cancellation Reason

If your payment request is not hard-declined (BP-DRs) by our business rules, we will send it to the customer's bank. However, the bank may still reject the payment attempt.

In this case, the payment will move to CA (canceled) status and the reason will be included in the transaction_status node of the payment query response. In that section, you’ll find both the description and the description_code that indicate the reason for the cancellation. See the example below:

"transaction_status": {
"code": "NOK",
"description": "Insufficient funds or limit restrictions in the user's account",
"description_code": "INSUFFICIENT_FUNDS"
}

For cancelled payments, the field code will be always NOK(not ok). Below you can find the possible description_code and description values:

description_codedescriptionDetails
INSUFFICIENT_FUNDSInsufficient funds in the user's accountThe user account has insufficient balance for the transaction at this moment. Please try later.
ENROLLMENT_CANCELLEDEnrollment is not in active stateThe enrollment has been cancelled by the user
LIMIT_EXCEEDEDLimit restrictions in the user's account.This can be due to breach in number of attempts allowed as per remitter's bank.
TIMEOUT_NPCI_UNAVAILABLEExternal service not available, try againWe received a network unavailable momentarily. Please try later.
TIMEOUT_REMITTER_BANK_UNAVAILABLEExternal service not available, try againThe user's bank was unavailable and did not respond to our payment scheduling attempt. Please try later.
USER_ACCOUNT_CLOSEDUser account is closed or blockedThe user's bank account is either closed or has a debit freeze. Please request user to try with a different vpa/account.
DUPLICATE_TRANSACTIONDuplicate Mandate/transaction requestExpected when a request for the same mandate/txn has been made twice.
MANDATE_PAUSEDEnrollment paused by the customerThe enrollment has been paused by the user.
MANDATE_EXPIREDEnrollment has expiredExpected when the enrollment expiry date has been breached .
INVALID_AMOUNTValue sent in the amount field is incorrectExpected when the amount field value is incorrect. Please revalidate the amount before retrying.
MAX_AMOUNT_EXCEEDEDMandate amount as set by bank exceededThis can be due to breach in per transaction limit or per day limits defined at remitter's bank.
PAYEE_BLOCKED_AT_REMITTERMerchant blocked at Remitter Bank due to internal checksMerchant has been blocked at remitter bank due to their internal fraud or risk checks.
INVALID_VPAVPA is either invalid or is inactiveThe VPA used for this transaction is not active or present. Please ask user to try with a valid & active VPA.
NOTIFICATION_NOT_FOUNDPre-debit notification not sent for the paymentHere, the PDN was not sent or not delivered successfully to the user for this payment. Please retry the PDN and payment cycle again.
MANDATE_REVOKEDEnrollment revoked by the customerThe enrollment has been revoked by the user.
MANDATE_NOT_FOUNDEnrollment does not exist or is not valid in the network/issuer systemHere, the enrollment ID is either not present or is invalid in network or issuer systems. Please initiate new enrollment for such scenarios.
NO_ACTION_BY_PAYERAuthentication not completed by userThis error is received when user fails to complete authentication before request expiry.
INVALID_PARAMParameter is invalidOne of the parameters such as currency, etc. is invalid. Please recheck before retrying.
REMITTER_BANK_NOT_AVAILABLEBank doesn't support the payment methodRemitter bank is either not live or doesn't support the payment method.
SUSPECTED_FRAUD_REMITTER_BANKFraudulent transaction as per bank systemRemitter bank has declined due to internal risk checks.
INVALID_MPIN_OR_OTPAuthentication failed due to incorrect input by userThe user failed to validate the request correctly.
CUSTOMER_NUMBER_OR_ACCOUNT_CHANGEUser account has undergone changes to primary valuesIf the user's bank account or number is changed, the payment will fail. Please request user to try with a different VPA/account.
INVALID_AMOUNTValue sent in the amount field is incorrectExpected when the amount field value is incorrect. Please revalidate the amount before retrying.
TIMEOUT_BENEFICIARY_BANK_UNAVAILABLEExternal service not available, try againThe bank was unavailable and did not respond to our payment scheduling attempt. Please try later.
TIMEOUT_ACQUIRING_BANK_UNAVAILABLEExternal service not available, try againThe bank was unavailable and did not respond to our payment scheduling attempt. Please try later.
DO_NOT_HONOURPayment rejected by bank due to internal checksBank has declined to process the transaction due to internal checks.
ATTEMPTS_EXCEEDED_MPIN_OR_OTPAuthentication failed due to incorrect input by userThe user failed to validate the request correctly within the allowed attempts.
CANCELED_BY_PAYERUser has declined the` transactionThis error is received when user proactively declines or rejects the payment.
TECHNICAL_ERRORTechnical failures or gateway errorsHere, the payment failed due to gateway level errors. Please try later.
BP-DR-86Parameter is invalidThe parameter sent was not valid. You would receive this in sync.
BP-REF-15Invalid operation: XYou are trying an invalid operation. You would receive this in sync response.
DEFAULT_ERRORUnknown errorYou will receive this when an unexpected error is received from the network .

Still need help?

Help Image

We hope this article was helpful. If you still have questions, you can explore the following options: