Lookup card network, type, bank, and issuance information from BIN (Bank Identification Number).
| Header | Required | Description |
|---|---|---|
X-Client-ID | Yes | Your Client ID |
X-Client-Secret | Yes | Your Client Secret |
X-Merchant-ID | Conditionally | Required for PSP merchants managing multiple merchant accounts |
X-API-Version | No | API version (defaults to latest) |
Content-Type | Yes | Must be application/json |
| Parameter | Type | Required | Description | Constraints |
|---|---|---|---|---|
bin | string | Yes | BIN code (first 8 digits of card number) | Pattern: ^[0-9]{6,9}$ |
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the request was successful |
message | string | Response message |
data | object | BIN lookup data |
data.bank | string | Bank name that issued the card |
data.network | string | Card network (visa, mastercard, rupay, amex, diners, maestro, sbi_maestro) |
data.card_type | string | Card type (credit_card or debit_card) |
data.is_domestic | boolean | Whether the card is domestic (issued in India) or international |
null values for fields that cannot be determinedis_domestic is true for cards issued in India, false for international cardsClient Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
Merchant Identifier - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X', '2.X.X', or '3.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.
BIN lookup request
BIN code (first 6-8 digits of card number)
^[0-9]{6,9}$"41111111"