List my cards
curl --request GET \
--url https://api.qash.ai/api/v1/cards/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.qash.ai/api/v1/cards/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "virtual",
"status": "active",
"last4": "8567",
"expirationMonth": "08",
"expirationYear": "31",
"limit": {
"amount": 1000,
"frequency": "per24HourPeriod"
}
},
{
"id": "7a1b2c3d-0d44-4b50-8888-1a2b3c4d5e6f",
"type": "virtual",
"status": "locked",
"last4": "1234",
"expirationMonth": "03",
"expirationYear": "29",
"limit": {
"amount": 1000,
"frequency": "per24HourPeriod"
}
}
]Cards
List my cards
List the authenticated user’s cards.
GET
/
api
/
v1
/
cards
/
me
List my cards
curl --request GET \
--url https://api.qash.ai/api/v1/cards/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.qash.ai/api/v1/cards/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "virtual",
"status": "active",
"last4": "8567",
"expirationMonth": "08",
"expirationYear": "31",
"limit": {
"amount": 1000,
"frequency": "per24HourPeriod"
}
},
{
"id": "7a1b2c3d-0d44-4b50-8888-1a2b3c4d5e6f",
"type": "virtual",
"status": "locked",
"last4": "1234",
"expirationMonth": "03",
"expirationYear": "29",
"limit": {
"amount": 1000,
"frequency": "per24HourPeriod"
}
}
]Requires
Authorization: Bearer <user-access-token> — the token from Verify login code.status to filter or q to search.
Possible card states are notActivated, active, locked, and canceled.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
notActivated, active, locked, canceled Search query.
Example:
20
Response
The authenticated user's cards.
Example:
"virtual"
Available options:
notActivated, active, locked, canceled Example:
"8567"
Example:
"08"
Example:
"31"
Local card creation timestamp (enriched from cards' own records).
Local card last-update timestamp (enriched from cards' own records).