Skip to main content
POST
/
cards
/
validate-card-info
Validate a card with card info.
curl --request POST \
  --url https://access.utgl.io/v1/cards/validate-card-info \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productId": 32,
  "last6": 436634,
  "expiryMonth": 12,
  "expiryYear": 2026
}
'
{
  "valid": true,
  "status": "pending-issue"
}

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"