Skip to main content
An enum (enumeration) is a data type that restricts a field to a specific set of predefined string values. The Cashfree Payments API uses enums across requests and responses to ensure that only valid, expected values are accepted or returned for a given field. The following are some examples of enum fields in the Cashfree Payments API:
  • The order_status field returns one of ACTIVE, PAID, EXPIRED, or TERMINATED, never a free-form string.
  • The payment_status field returns one of SUCCESS, FAILED, PENDING, CANCELLED, and others.
  • Net banking and wallet codes are fixed numeric identifiers mapped to specific providers.
Because enum values are fixed and predictable, you can use them directly in conditional logic, error handling, and status checks without accounting for unexpected values.

Order states

Order states represent the current status of an order throughout its lifecycle, from creation to a terminal state such as paid or expired. Use these values to determine whether an order is still open for payment or has reached a final state.
An order moves through the following states based on payment outcomes and merchant actions.
Order StateDescriptionRemarks
ACTIVEOrder is created and ready for payment.Initial state for all newly created orders.
PAIDPayment is verified and successful.Terminal state indicating the order is fully paid.
EXPIREDOrder has exceeded the order_expiry_time specified during creation.Further payment attempts are not allowed.
TERMINATEDOrder is ended using the Order Termination API.Permanent terminal state; customers can no longer pay.
TERMINATION_REQUESTEDCall to the Order Termination API is acknowledged and processing.If a pending transaction succeeds during this state, the order transitions to PAID instead of TERMINATED.

Payment states

Payment states indicate the status of an individual payment attempt within an order. An order can have multiple payment attempts, and each attempt progresses through its own states before reaching a terminal outcome such as SUCCESS or FAILED.
Each payment attempt within an order has its own lifecycle. Use these states to handle granular payment scenarios.
Payment StateDescriptionRemarks
SUCCESSTransaction is successful and the amount is captured.Terminal state. Once successful, the order moves to PAID.
FAILEDTransaction failed due to bank, customer, or system issues.Terminal state. Customers can initiate a new attempt.
NOT_ATTEMPTEDTransaction is created but acknowledgement from the bank is awaited.Initial state for a payment attempt.
PENDINGRequest is sent to the bank and a response is awaited.Non-terminal state. Do not fulfil orders in this state.
FLAGGEDTransaction is identified as high-risk and requires review.Merchant must manually approve or reject the payment.
CANCELLEDAmount is reversed because a success response arrived after the time to live (TTL).Automatic system reversal for late confirmations.
VOIDTransaction amount is not captured by explicit request.Typically used for pre-authorised card payments or UPI mandates.
USER_DROPPEDCustomer abandoned the payment flow before completion.Includes closing the app or OTP page without attempting payment.

Net banking codes

Net banking codes identify the supported net banking providers. Pass the Bank Code value in the payment_method parameter of your API request to initiate a net banking transaction. The TPV Supported column indicates whether the bank supports Third Party Validation (TPV). When TPV is enabled, Cashfree Payments verifies that the customer completes the payment from the specific bank account provided during order creation.
The following table lists the supported banks and their corresponding codes for net banking integrations.
Bank nameBank codeTPV supported
Airtel Payments Bank3123N
Andhra Pragathi Grameena Bank3094N
AU Small Finance Bank3087Y
Axis Bank3003Y
Axis Bank - Corporate3071N
Bandhan Bank - Retail Banking3088Y
Bank of Bahrain and Kuwait3095N
Bank of Baroda - Corporate3060Y
Bank of Baroda - Retail Banking3005Y
Bank of India3006Y
Bank of India - Corporate3061N
Bank of Maharashtra3007N
Barclays - Corporate3080N
Canara Bank3009Y
Capital Small Finance Bank3098Y
Central Bank of India3011N
City Union Bank3012Y
Cosmos Bank3097Y
CSB Bank Limited3010Y
DBS Bank Ltd3017N
DCB Bank - Personal3018N
Deutsche Bank3016Y
Dhanlakshmi Bank3019Y
Dhanlaxmi Bank - Corporate3072N
Equitas Small Finance Bank3076N
ESAF Small Finance Bank3100N
Federal Bank3020Y
Fincare Bank3101N
Gujarat State Co-operative Bank Limited3091Y
HDFC Bank3021Y
HDFC Corporate3084N
HSBC Retail NetBanking3092Y
ICICI Bank3022Y
ICICI Bank - Corporate3073N
IDBI Bank3023Y
IDBI Bank - Corporate3124N
IDFC FIRST Bank3024Y
Indian Bank3026Y
Indian Overseas Bank3027Y
Indian Overseas Bank - Corporate3081N
IndusInd Bank3028Y
Jammu and Kashmir Bank3029Y
Jana Small Finance Bank3102Y
Janata Sahakari Bank Ltd Pune3104N
Kalyan Janata Sahakari Bank3105N
Karnataka Bank Ltd3030Y
Karnataka Gramin Bank3113N
Karnataka Vikas Grameena Bank3107N
Karur Vysya Bank3031Y
Kotak Mahindra Bank3032Y
Maharashtra Gramin Bank3108N
Mehsana urban Co-op Bank3109N
NKGSB Co-op Bank3111N
Nutan Nagarik Sahakari Bank Limited3112N
Punjab & Sind Bank3037Y
Punjab National Bank - Corporate3065N
Punjab National Bank - Retail Banking3038Y
RBL Bank3039Y
RBL Bank Limited - Corporate3114N
Saraswat Bank3040Y
SBM Bank India3115Y
Shamrao Vithal Bank - Corporate3075N
Shamrao Vitthal Co-operative Bank3041N
Shivalik Small Finance Bank3086Y
South Indian Bank3042Y
Standard Chartered Bank3043Y
State Bank Of India3044Y
State Bank of India - Corporate3066N
Suryoday Small Finance Bank3116N
Tamil Nadu State Co-operative Bank3051N
Tamilnad Mercantile Bank Ltd3052Y
Thane Bharat Sahakari Bank Ltd3118N
The Kalupur Commercial Co-Operative Bank3106N
The Surat Peoples Co-operative Bank Limited3090Y
The Sutex Co-op Bank Ltd3117Y
TJSB Bank3119N
UCO Bank3054Y
UCO Bank Corporate3122N
Ujjivan Small Finance Bank3126Y
Union Bank of India3055Y
Union Bank of India - Corporate3067N
Utkarsh Small Finance Bank3089Y
Varachha Co-operative Bank Limited3120N
Yes Bank - Corporate3077N
Yes Bank Ltd3058Y
Zoroastrian Co-Operative Bank Ltd3121N

Wallet codes

Wallet codes identify the supported digital wallet providers. Pass the Payment Code value in your API request to collect payments via a specific wallet.
The following table lists the available wallet providers and their corresponding payment codes.
S. NoWallet namePayment code
1FreeCharge4001
2MobiKwik4002
3Ola Money4003
4Airtel Money4006
5Amazon Pay4008
6PayTM4007
7PhonePe4009
8Test Wallet (Sandbox)4010

EMI codes

Equated Monthly Instalment (EMI) codes specify the available instalment plans for supported banks and card types. Use these values to present EMI options to customers during checkout. The following attributes apply across all EMI plan tables:
  • card_bank_name: The bank identifier to pass in the API request parameter.
  • Tenure: The duration of the instalment plan, expressed in months.
  • Annual Interest Rate: The yearly interest rate applied to the transaction amount, expressed as a percentage.
Verify that the transaction amount falls within the Minimum Amount and Maximum Amount range specified for the selected plan and tenure before making the API request.
Credit card EMI lets customers split a large payment into fixed monthly instalments charged to their credit card. This is the most widely supported EMI type and is available across major Indian banks.
The following table lists the supported banks, interest rates, and tenures available for credit card EMI.
Card typeType of EMIBankcard_bank_nameMinimum amountMaximum amountAnnual interest rateTenure
CreditStandardHDFC Bankhdfc1000500000163
CreditStandardHDFC Bankhdfc3000500000166
CreditStandardHDFC Bankhdfc3000500000169
CreditStandardHDFC Bankhdfc30005000001612
CreditStandardAxis Bankaxis25001000000163
CreditStandardAxis Bankaxis25001000000166
CreditStandardAxis Bankaxis25001000000169
CreditStandardAxis Bankaxis250010000001612
CreditStandardAxis Bankaxis250010000001618
CreditStandardAxis Bankaxis250010000001624
CreditStandardICICI Bankicici150050000015.993
CreditStandardICICI Bankicici150050000015.996
CreditStandardICICI Bankicici150050000015.999
CreditStandardICICI Bankicici150050000015.9912
CreditStandardICICI Bankicici150050000015.9918
CreditStandardICICI Bankicici150050000015.9924
CreditStandardKotak Bankkotak10001000000163
CreditStandardKotak Bankkotak25001000000166
CreditStandardKotak Bankkotak25001000000169
CreditStandardKotak Bankkotak250010000001612
CreditStandardKotak Bankkotak250010000001618
CreditStandardKotak Bankkotak250010000001624
CreditStandardBank of Barodabob25001000000163
CreditStandardBank of Barodabob25001000000166
CreditStandardBank of Barodabob25001000000169
CreditStandardBank of Barodabob250010000001612
CreditStandardBank of Barodabob250010000001618
CreditStandardBank of Barodabob250010000001624
CreditStandardBank of Barodabob250010000001636
CreditStandardStandard Charteredstandard chartered200050000011.883
CreditStandardStandard Charteredstandard chartered2000500000146
CreditStandardStandard Charteredstandard chartered2000500000159
CreditStandardStandard Charteredstandard chartered20005000001512
CreditStandardStandard Charteredstandard chartered20005000001518
CreditStandardStandard Charteredstandard chartered20005000001524
CreditStandardRBL Bankrbl15001000000133
CreditStandardRBL Bankrbl15001000000146
CreditStandardRBL Bankrbl15001000000159
CreditStandardRBL Bankrbl150010000001512
CreditStandardRBL Bankrbl150010000001518
CreditStandardRBL Bankrbl150010000001524
CreditStandardAU Small Bankau20001000000163
CreditStandardAU Small Bankau20001000000166
CreditStandardAU Small Bankau20001000000169
CreditStandardAU Small Bankau200010000001612
CreditStandardAU Small Bankau200010000001618
CreditStandardAU Small Bankau200010000001624
CreditStandardYes Bankyes15001000000163
CreditStandardYes Bankyes15001000000166
CreditStandardYes Bankyes15001000000169
CreditStandardYes Bankyes150010000001612
CreditStandardYes Bankyes150010000001618
CreditStandardYes Bankyes150010000001624
CreditStandardHSBChsbc2000100000012.53
CreditStandardHSBChsbc2000100000012.56
CreditStandardHSBChsbc2000100000013.59
CreditStandardHSBChsbc2000100000013.512
CreditStandardAmerican Expressamex50001000000143
CreditStandardAmerican Expressamex50001000000146
CreditStandardAmerican Expressamex50001000000149
CreditStandardAmerican Expressamex500010000001412
CreditStandardAmerican Expressamex500010000001518
CreditStandardAmerican Expressamex500010000001524