Feature RequestThis is an on-demand feature. Please raise a request with our Support team to get this feature activated on your account.
Uses
You can use this API to:- Check if the IIN of the card number entered by a customer is valid.
- Check if the IIN is eligible for different payment flows such as recurring and EMI.
- Get information about the card network, card type and issuing bank.
- Detect customer’s card type.
- Fetch the actual card IIN for a given token IIN. This is currently supported for Visa and MasterCard.
Supported Length of the IIN
Please make sure to pass the IIN with correct length as described in the table below:IIN Entity
iin
: string The Issuer Identification Number (IIN). The starting 6 digits of credit or debit card number. For example, 438628 or 438628111.
entity
: string The name of the entity. Here, it is iin.
network
: string The card network for the given IIN. Possible values:
type
: string The card type for the given IIN. The card payment pricing may differ based on the card type. Possible values:
creditdebitprepaidunknown
sub_type
: string The card sub-type for the given IIN. The card payment pricing may differ based on the card sub-type. Possible values:
consumerbusinessunknown
international
: boolean Determines whether the card is international (issued outside India) or domestic. Possible values:
true: Card issued outside India.false: Card issued within India.
issuer_code
: string The 4-character issuer code unique to each issuing bank. For example, HSBC.
issuer_name
: string The name of the issuing bank. Available for cards issued in India only. For example, HSBC Bank.
recurring
: json object A JSON object which provides information about the applicability of recurring payments on the IIN.
available
: boolean Determines whether the card is eligible for recurring payments or not. Possible values:
true: IIN is eligible for recurring payments.false: IIN is not eligible for recurring payments.
authentication_types
: array Array which lists the possible authentication types for which the IIN is eligible. Possible values:
type: 3ds: Indicates that the card IIN supports normal 3ds payments.type: otp: Indicates that the card IIN supports native OTP payments. Native OTP gives you flexibility to accept the OTP entered by the cardholder on your screen.
Fetch IIN
The following API helps you get all the information about the IIN:GET /iins/:iin
Path Parameter
id mandatory
: string The first 6 digits of the customer’s card number depending on the network.