GETFetch Bulk Bin List API
Use Case
This API can fetch BIN list for the following specific features powered by Paytm PG:
- Complete BIN list having Native OTP (IVR) support.
- Complete BIN list having EMI eligibility support.
Request Attributes
Head
Attribute | Description |
---|---|
requestId string mandatory | Unique reference ID for a transaction which is generated by merchant and sent in the request |
clientId string mandatory | Paytm use the merchant key on the basis of clientId parameter value. It requires only if the merchant has more than one key. |
signature string mandatory | Paytm validates the request and ensures that parameters are not tempered by verifying the signature in the request. For creating the checksum (signature) refer to the steps given in Checksum Logic.
|
signatureType string mandatory |
|
Query Params
ATTRIBUTE | DESCRIPTION |
---|---|
from string optional |
The ISO Date to identify the bins that were updated from this date. If not provided, all the bins that match the attribute and value will be returned in paginated format. Example: 2023-10-01T00:00:00.000Z |
to string optional |
The ISO Date to identify the bins that were updated till this date. The date given here should be not less than 45 days and not greater than the current date. Example: 2023-10-05T00:00:00.000Z |
attribute string mandatory |
The attribute for which the bulk Bin data is required. Possible Value: isEmiEligible, isNativeOtpEligible |
value string optional |
The value of the attribute to be matched. Possible Value: true |
page string optional |
The page number if there are multiple pages. Possible Value: true |
Response Attributes
Head
Attribute | Description |
---|---|
requestid string | Unique reference ID for a transaction which is generated by merchant and sent in the request |
Body
Attribute | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
resultInfo object | This parameter gives the information about the result of the API response | ||||||||||||||
resultInfo +
| |||||||||||||||
metadata string | |||||||||||||||
metadata +
| |||||||||||||||
Bins string | Each instance of the data list will contain the following object. | ||||||||||||||
Bins +
|
Response Codes & Messages
resultCode | resultStatus | resultMsg |
---|---|---|
0000 | S | Success |
0004 | S | No Data Available, No Content |
0401 | F | Unauthorised access to API |
0500 | F | Internal Server Error |
curl --location 'https://secure.paytmpayments.com/bin-center/v1/bulk/bin/list?page=23&value=true&attribute=isNativeOtpEligible' \
--header 'signature: checksum-signature-generated' \
--header 'clientId: your-client-id' \
--header 'requestId: 1617646a-e068-4098-9903-4cb0a54aafab'