Check is Domestic API

API Command: check_isDomestic

The Check is Domestic or Card BIN API is used to detect whether a particular BIN number is international or domestic. It is also useful to determine: 

  • card’s issuing bank
  • card type such as, Visa, Master, etc.,
  • card category such as Credit/Debit, etc. 
  • var1 is bin number which is the first 6 digits of a Credit/Debit card.

Reference information for request parameters

ParameterReference
keyFor more information on how to generate the Key and Salt, refer to any of the following:

- Production: Generate Merchant Key and Salt
- Test: Generate Test Merchant Key and Salt
hashHash logic for this API is:
sha512(key|command|var1|salt)
sha512
var1For JSON fields description, refer to Additional Info for General APIs

Request parameters

Use the following sample values while trying out the API:

Example values

  • var1 (first six digit of the card): 512345.
Language
Click Try It! to start a request and see the response here!