Check Eligibility
This API will check whether the card bin provided supports direct OTP flow.
Request
Method | URL |
---|---|
GET | https://api.juspay.in/cardbins/:card_bin |
Type | Params | Values | Description |
---|---|---|---|
EMBEDDED | card_bin | string | First 6 digits of the card number |
GET | merchant_id | string | Merchant ID which represents the merchant storing the card |
options.check_direct_otp_support | boolean | This is a boolean variable and accepts true/false. If set to true, then the card eligibility check for OTP payments will be done. |
Example
curl -X GET https://api.juspay.in/cardbins/524368?merchant_id=:merchant_id&options.check_direct_otp_support=true
Response
Status | Response |
---|---|
200 | {"id": "524368","object": "cardbin","brand": "Master Card","bank": "HDFC Bank","country":"India","type": "CREDIT","direct_otp_support": true} |
Updated over 2 years ago