> For the complete documentation index, see [llms.txt](https://docs.tutelar.io/tutelar-api-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tutelar.io/tutelar-api-document/tutelar-api-document-v2/business-profile/lookups/bin.md).

# BIN

BIN (Bank Identification Number) lookup is an essential tool to verify payment transactions, prevent fraudulent activities, and ensure seamless payment processing. This service provides valuable insights into the issuing bank, card type, and geographic location associated with a given payment card, enabling businesses to make informed decisions and enhance security measures.

## &#x20;bin\_lookup

<mark style="color:green;">`POST`</mark> `https://secctrl.tutelar.io/api/v2/services/business_profile/bin_lookup`

### Header

| Name          | Value                     |
| ------------- | ------------------------- |
| Content-Type  | `application/json`        |
| Authorization | `Bearer eyJhbGciOiJ.....` |

### Post parameters description is given below,

<table><thead><tr><th>Body</th><th width="148">Type</th><th>Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>bin_number</td><td>String</td><td>Yes</td><td>BIN Number</td></tr></tbody></table>

#### Sample Request Body

```json
{
  "bin_number": "100001"
}
```

{% tabs %}
{% tab title="200: Success Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request has been successfully completed.",
    "reference_id": "d4269f43-9443-4c5a-bc4a-60b4bafdd04c",
    "status": "completed",
    "result": {
        "bin": "100001",
        "brand": "LOCAL BRAND",
        "bank": "STATE BANK OF INDIA",
        "type": "DEBIT",
        "sub_brand": "CLASSIC",
        "country": "INDIA",
        "iso_1": "IN",
        "iso_2": "IND",
        "iso_3": "356"
    },
    "requested_at": "2024-03-19T06:44:25.255Z",
    "completed_at": "2024-03-19T06:44:25.318Z"
}
```

{% endtab %}

{% tab title="400: Validation Error Response" %}

```json
{
    "success": false,
    "code": 400,
    "message": "Invalid input. Please check your request and try again.",
    "error": {
        "message": "BIN Number should not be empty",
        "field": "bin_number",
        "code": "BAD_REQUEST"
    }
}
```

{% endtab %}

{% tab title="200: Failure Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request could not be completed due to an error.",
    "reference_id": "f04aa55e-9bed-4c9e-9bb8-7412a633cb01",
    "status": "failed",
    "error": {
        "message": "Card lookup not found or invalid. Please review the card information for accuracy.",
        "code": "ERROR"
    },
    "requested_at": "2024-03-15T06:46:04.111Z",
    "completed_at": "2024-03-15T06:46:05.490Z"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tutelar.io/tutelar-api-document/tutelar-api-document-v2/business-profile/lookups/bin.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
