Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Card Info

Get Card details using card bin. By using Query parameters, you can also check if a card is eligible for ATM PIN, Mandate or direct OTP payments.

The response for the Card Info API is the Card (info) Parameters.
(click to view)
FieldTypeDescription
idStringID code for the card (depends on object selection).
objectStringObject is usually set to cardbin (first 6 digits of the card number). Could also be card_isin, card_reference, etc.
brandStringBrand of card (MASTERCARD, VISA, etc.) This can be inferred from card.
bankStringCode for bank that issued the card (not always available)
juspay_bank_codeStringCode for bank generated by Juspay
countryStringCountry where card originated (not always available)
typeStringIndicates if the card is either CREDIT or DEBIT. This can be inferred from card (but not for all cards).
card_sub_typeStringType of CREDIT or DEBIT card
Example: "REGALIA"
expiredBooleanIndicates whether the stored card is expired or not
(not in main document, but should be included).
direct_otp_supportBooleanIndicates if the card is eligible for OTP payments.
atm_pin_auth_supportBooleanIndicates if the card is eligible for ATM PIN payments.
mandate_supportBooleanIndicates if the card is eligible for mandates.
The request for the Card Info API consists of one Path parameter:   card_bins, and four optional Query parameters:  merchant_id, and three Boolean (true/false) variables for eligibility checks.
(click to view)
  Path Parameter:
FieldTypeDescription
cardbins*StringFirst 6 digits of the card number.
  Query Parameters:
FieldTypeDescription
merchant_idStringMerchant ID which represents the merchant storing the card
options.check_atm_pin_auth_supportBooleanThis is a boolean variable and accepts true/false. If set to true, then the card eligibility check for ATM PIN payments will be done
options.check_mandate_supportBooleanThis is a boolean variable and accepts true/false. If set to true, then the card eligibility check for mandates will be done.
options.check_direct_otp_supportBooleanThis is a boolean variable and accepts true/false. If set to true, then the card eligibility check for OTP payments will be done.
* = Required
Language
Click Try It! to start a request and see the response here!