> ## Documentation Index
> Fetch the complete documentation index at: https://cashfreepayments-d00050e9-handbook-faq-creation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Card BIN Details

**Card BIN** (Bank Identification Number) refers to the first eight digits of a card number, which identify details such as the issuing bank, card type, country of issuance, and card scheme.

## Use cases for card BIN

Card BIN details can be used for the following purposes:

* **Checkout customisations**: Merchants can display the bank name or scheme indicator for customer familiarity. They can also restrict unsupported cards by showing an error when the customer enters the card BIN.
* **Offer targeting**: Check offer eligibility based on card BIN, for example, 10% off on Axis Bank credit cards.
* **Risk and fraud management**: Block or apply strict usage limits on suspicious cards like those of high-risk countries.

## Card BIN API

When customers start entering their card details at checkout, merchants can use Cashfree’s [Get Card BIN Details API](/api-reference/payments/latest/utilities/get-card-bin) to fetch information such as issuing bank, card country, card scheme, card type, and sub-type. Merchants can then build their use case on top of this data.
<Note>This API provides two types of responses, depending on your access level. To enable the detailed response for your account, use the [raise an issue support form](https://merchant.cashfree.com/merchants/landing?env=prod\&raise_issue=1). </Note>

<CodeGroup>
  ```json Filtered Response
  {
    "bank_name": "canara bank",
    "country_code": "in",
    "scheme": "visa",
    "sub_type": "filtered",
    "type": "filtered"
  }
  ```

  ```json Detailed Response
  {
    "bank_name": "canara bank",
    "country_code": "in",
    "scheme": "visa",
    "sub_type": "retail",
    "type": "credit"
  }
  ```
</CodeGroup>
