8. Check BIN
Check bin numbers of your customer's card by using Paywall's service
Check BIN
GET
{{Base Address}}/api/paywall/bin/inquiry
Sending a request to the provided address above will be sufficient. You can use the 'Base Address' as you wish for both the test environment and the real environment.
apikeypublic
string
Yes
The Public Key you have obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client you have obtained from the merchant panel.
binnumber
string
Yes
The first 6 digits of the card for which the payment is to be made.
Response returned from the service:
ErrorCode
int
Error code. Returns '0' if the transaction is successful.
Result
bool
Returns a true or false value. It returns 'true' if the transaction is successful.
Message
string
If the transaction is unsuccessful, this is the specified error message.
Body
object
It returns full if there is an installment option, and empty if not.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": {
"BinNumber": "552879",
"CardBank": "T.HALK BANKASI A.Ş.",
"CardBrand": "Master Card",
"CardFamily": "Paraf",
"CardKind": "Ticari Kart",
"CardType": "Credit"
}
}
Last updated