cURL
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" }
Validate a card with it’s product id, last 6 digits, expiry date.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The productId field specifies the card product id.
productId
32
The last 6 digits of the card number.
436634
The expiry month of a card.
12
The expiry year of a card.
2026
Card validation result
Card validation result, possible value is true or false.
true
Status of card (if found)
active
pending-issue
pending-activation
locked
suspended
cancelled
"pending-issue"
Was this page helpful?