Get card status
curl --request GET \
--url https://api.qash.ai/api/v1/cards/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/status', 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/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active"
}Cards
Get card status
Return the current status of the authenticated user’s primary card.
GET
/
api
/
v1
/
cards
/
status
Get card status
curl --request GET \
--url https://api.qash.ai/api/v1/cards/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/status', 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/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active"
}Requires
Authorization: Bearer <user-access-token> — the token from Verify login code.notActivated, active, locked, and canceled.