Skip to main content
POST
Card Validation

Card Validation Guide

Complete guide with examples, parameters, and best practices

Query Parameters

iin
string
required

Card's BIN / IIN (the first 6 to 11 digits of the card number)

Pattern: \d{6,11}

Body

application/json

payer details

The billing information of the card owner to be used for validation, incl. Client Ip address

clientIPAddress
string
required

Client IP address

Minimum string length: 1
countryCode
string
required

2 letter country code (ISO 3166-2

)

Minimum string length: 1
Pattern: [A-Z]{2}
city
string | null

City

stateProvince
string | null

State or Province

Response

Bad data

fieldName
string | null

Field name the error(s) are referring to

errors
string[] | null

List of errors