Card BIN information API

To retrieve the card BIN information such as card type and the issuer information.


Response (JSON format)

Variable / ParameterType Format / Max LengthDescription / Example
card_brandVISA / MASTERCARD / AMEX / UP / JCB / DCMASTERCARD
card_issuerans100CIMB BANK BERHAD
debit_creditDEBIT / CREDIT / PREPAID / N/ACREDIT
card_typeans100STANDARD (other examples: GOLD, PLATINUM, CLASSIC, co-brand name is available)
card_countryISO-3166-1 alpha-2MY
islamic_cardY / NY

PG will respond the following in JSON format once error occurs (negative result).

Field NameData Type (Size)Description
error_codean7Refer to Appendix A
error_descans-254Refer to Appendix A

Formula of skey

md5( {\'domain\'}{\'secret_key\'}{\'BIN\'} )

Appendix A : Error Code & Description in JSON

error_codeerror_desc
QBIN001Missing required Parameter.
QBIN002Merchant info not found.
QBIN003Invalid skey.
QBIN004Card BIN info not found.
QBIN005System is busy now, temporarily out of service. Please try again later.
Language
Click Try It! to start a request and see the response here!