> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/crm/gateway-setup/standard-bin-mapping.md).

# Standard BIN Mapping

{% hint style="info" %}
A **BIN** is a ***Bank Identification Number*** or ***Issuer Identification Number,*** which is the first six digits of a card number. These digits can be used to identify the Type of Card: each Card Type has a designated range of BINs.
{% endhint %}

BIN mapping allows you to make sure certain Card Types are directed to certain gateways.

A typical example of BIN mapping would be to map all AMEX Cards to the gateway you have that will process AMEX.

***

## BIN Reference Links

* <https://binlist.net/> - a site to test a single card number's BIN
* <https://en.wikipedia.org/wiki/Payment_card_number> - a Wikipedia Article with a list of BIN ranges

***

## Adding a Bin Map

Go to **Gateways** > **Bin Mapping** > **Standard Bin Map** and *Click* the Green **+Bin Map** Button:

<figure><img src="/files/qrPySWmFSYF6Po8GuM6V" alt=""><figcaption></figcaption></figure>

Use the Create Bin Map dialog to make a new Standard Bin Map:

<figure><img src="/files/tpCpKHsv2Cu0HFwCxi4Q" alt="" width="375"><figcaption></figcaption></figure>

* **Name**: The Name of the Bin Map
* **Start Range**: First number in the Range
* **End Range**: Last number in the Range
* **Bank Name Keywords:** Allows you to further define mapping criteria based the customer's card bank. Enter keywords surrounded by double quotes for an exact match. Case-insensitive.
* **Campaign:** Which campaign the Bin Map will apply to (default is All)
* **Route to Gateway**: The gateway where you want the BIN Range processed
* **Enabled**: Allows you to disable the Bin Map without having to delete it
* **Prepaid Cards Only:** Allows you to route all prepaid cards within a certain BIN range to a particular gateway
* **Debit Cards Only:** Allows you to route all debit cards within a certain BIN range to a particular gateway
* **Credit Cards Only:** Allows you to route all credit cards within a certain BIN range to a particular gateway.  This excludes prepaid and debit cards.
* **Select a Bank Range:** Search by Bank and select BIN ranges for this profile.

<figure><img src="/files/2iaY8wHy79Sa23LTUhqi" alt=""><figcaption></figcaption></figure>

***

The Bin Mapping section will show the Bin Maps created:

<figure><img src="/files/aShBhnPUAjTSf1IwQrCB" alt=""><figcaption></figcaption></figure>

***

The eye button lets you view information about BINs by Bank.

<figure><img src="/files/8JeiNDdZp5wD22vlmz4W" alt=""><figcaption></figcaption></figure>
