---
title: "Get Bin"
method: POST
path: "/tsp/pg/api/bin/details"
---

# Get Bin

`POST /tsp/pg/api/bin/details`

## Request body

- object
  - `merchantId` string, required — Merchant id. Size-12.
  - `requestId` string, required — Unique request ID. Size-12.
  - `requestedAt` string, required — Date time when the request was initiated. Format: YYYYMMDDHHMMSS. The requestDateTime must be in UTC and cannot be older than 30 mins from current time. Size-14
  - `cardNo` string — Card bin or the card number. Size- 20
  - `secureHash` string, required — Hash value. Size- 64
  - `tenantId` string, required

## Response `200`

- object
  - `merchantId` string, required — Merchant id. Echoed from the request. Size-12.
  - `network` string, required — Card network. Whether VISA, Rupay, or MC
  - `error_code` string, required — Response code. 0000: Success; 5001: Bin is inactive; 500: Internal error. Size- 4
  - `errorDescription` string — Response description. Provided only when the response is not successful
  - `cardType` string — Type of the card, CC: Credit card; DC: Debit card; PP: Prepaid card
  - `domOrIntl` string — Card origin. DOM: Domestic (India); INTL: International (outside India)
  - `prdType` 'Corporate' | 'Default' | 'Business' | 'Normal' | 'Premium' | 'SuperPremium' | 'Purchase' | 'Commercial' — Product type of bin

---

[API](https://skmtc.net/jiopay/apis/jiopay-pg.md) · [All operations](https://skmtc.net/jiopay/apis/jiopay-pg/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jiopay/jiopay-pg/versions/55aa41b8482f/schema)
