cURL
curl --request GET \ --url https://staging.qash.ai/api/v1/cards/details \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "virtual", "status": "active", "last4": "8567", "expirationMonth": "08", "expirationYear": "31", "limit": { "amount": 1000, "frequency": "per24HourPeriod" } }
Return masked details for the authenticated user’s primary card.
Authorization: Bearer <token>
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Masked card details returned successfully.
"virtual"
notActivated
active
locked
canceled
Hide child attributes
per24HourPeriod
perWeek
perMonth
allTime