Juspay Developer Guide

Welcome to the Juspay Developer Guide. You'll find comprehensive guides and documentation to help you start working with Juspay Docs as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Check Eligibility

This API will check whether the card bin provided supports direct otp flow.

Request

TypeParamsValuesDescription
EMBEDDEDcard_binstringFirst 6 digits of the card number
GETmerchant_idstringMerchant ID which represents the merchant storing the card
options.check_direct_otp_supportbooleanThis 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

StatusResponse
200{"id": "524368","object": "cardbin","brand": "Master Card","bank": "HDFC Bank","country":"India","type": "CREDIT","direct_otp_support": true}

Updated 10 months ago


Check Eligibility


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.