Skip to main content
POST
Validate a card with card info.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
productId
string
required

The productId field specifies the card product id.

Example:

32

last6
string
required

The last 6 digits of the card number.

Example:

436634

expiryMonth
string
required

The expiry month of a card.

Example:

12

expiryYear
string
required

The expiry year of a card.

Example:

2026

Response

200 - application/json

Card validation result

valid
boolean
required

Card validation result, possible value is true or false.

Example:

true

status
enum<string>

Status of card (if found)

Available options:
active,
pending-issue,
pending-activation,
locked,
suspended,
cancelled
Example:

"pending-issue"