6. Check BIN

Check a thousand

Check a thousand

GET {{Private 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.

Important: In order to use the query service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field.

PaymentAPI Address

ParameterTypeMandatoryDescription

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:

ParameterTypeDescription

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