> ## Documentation Index
> Fetch the complete documentation index at: https://www.cashfree.com/docs/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 theme={"dark"}
  {
    "bank_name": "canara bank",
    "country_code": "in",
    "scheme": "visa",
    "sub_type": "filtered",
    "type": "filtered"
  }
  ```

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

<div class="hidden" data-table-of-contents="bottom">
  <p class="mt-4 font-medium flex items-center gap-2 related-docs-heading">
    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="w-4 h-4">
      <path d="M3 4h7a2 2 0 0 1 2 2v13a2 2 0 0 0-2-2H3z" />

      <path d="M21 4h-7a2 2 0 0 0-2 2v13a2 2 0 0 1 2-2h7z" />
    </svg>

    <span>Related topics</span>
  </p>

  <ul>
    <li><a href="/docs/api-reference/payments/latest/utilities/get-card-bin">Get Card BIN Details API</a></li>
  </ul>
</div>
