Supported payment methods
Payment method eligibility is widely used for the cards payment method, supporting a range of card types:- Credit cards
- Debit cards
- Prepaid cards
- Credit card EMI
- Debit card EMI
Configuring eligibility
Payment eligibility is defined at the order level using thepayment_methods_filters parameter in the Create Order API request.
This allows for fine-tuned control over which payment methods are available for each transaction.
Sample configuration
The following example demonstrates how to configure payment eligibility using thepayment_methods_filters parameter.You can customise this filter by choosing specific payment methods and applying relevant restrictions.
Sample code
Configuration guidelines
Follow these guidelines to ensure proper use and configuration of the Payment Method Eligibility feature:-
Action field: Always use
ALLOWfor the action field. -
Card schemes: Values must be in uppercase. For example,
VISAorRUPAY. - Issuing bank: Refer to Cashfree’s list of valid issuing banks.
-
Card BINs: Only valid BINs should be used in the
card_binsandcard_emi_binsfilters. - Card suffix: The last four digits of the card number must be specified for restrictions.
-
EMI filters: These should only be used if
credit_card_emiordebit_card_emiis included in methods. -
Filter order: Filters can be defined in any order within the
filtersobject. -
Default behaviour: If
payment_methods_filtersis not defined, all payment methods are supported without restrictions. -
EMI tenure range: The range for
card_emi_tenureis from 3 to 36 months.
Supported card networks and issuing banks
The following card networks are supported:View supported card networks
View supported card networks
card_issuing_bank filter within the payment_methods_filters parameter of the Create Order API.
View supported issuing banks
View supported issuing banks