v1

latestOpenAPI 3.0.02026-07-24270120.1 KB

Get Bin

post/tsp/pg/api/bin/details

Request body

merchantIdstring required

Merchant id. Size-12.

requestIdstring required

Unique request ID. Size-12.

requestedAtstring 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

cardNostring

Card bin or the card number. Size- 20

secureHashstring required

Hash value. Size- 64

tenantIdstring required

Response

merchantIdstring required

Merchant id. Echoed from the request. Size-12.

networkstring required

Card network. Whether VISA, Rupay, or MC

error_codestring required

Response code. 0000: Success; 5001: Bin is inactive; 500: Internal error. Size- 4

errorDescriptionstring

Response description. Provided only when the response is not successful

cardTypestring

Type of the card, CC: Credit card; DC: Debit card; PP: Prepaid card

domOrIntlstring

Card origin. DOM: Domestic (India); INTL: International (outside India)

prdType'Corporate' | 'Default' | 'Business' | 'Normal' | 'Premium' | 'SuperPremium' | 'Purchase' | 'Commercial'

Product type of bin