A card's BIN code is the first six digits of the card number. At the Consulta BIN simulation in the Sandbox environment, each one of the six digits will determine a simulated result.
It is possible to test different card numbers and observe the expected return according to the different options.
A card's BIN code should return the card brand, the type of card, the nationality, if it is a corporate card, the return of the BIN analysis and the card issuer. To know more, read the Consulta BIN section of this guide.
Digit | Meaning | Return |
|---|---|---|
1st digit | Brand. | If it's '3' it returns "AMEX" |
2nd digit | Type of card | If it's '3' it returns "Débito" |
3rd digit | Card nationality | If it's '1' it returns "true" (national card) |
4th digit | If it's a corporate card | If it's '1' it returns "true" (it is a corporate card) |
5th digit | Analysis return | If it's '2' it returns "01 - Bandeira não suportada" |
6th digit | Issuing bank | If it's '1' it returns "104" and "Caixa" |
Example
A card with the number 4110110012341234 will return the following data:
