Get card secrets (PAN and CVC)
curl --request GET \
--url https://api.qash.ai/api/v1/cards/secrets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/secrets', 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/secrets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last4": "8567",
"cardNumber": "4111111111111111",
"cvc": "123"
}Cards
Get card secrets
Return the PAN and CVC of the authenticated user’s primary card.
GET
/
api
/
v1
/
cards
/
secrets
Get card secrets (PAN and CVC)
curl --request GET \
--url https://api.qash.ai/api/v1/cards/secrets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/secrets', 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/secrets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last4": "8567",
"cardNumber": "4111111111111111",
"cvc": "123"
}Requires
Authorization: Bearer <user-access-token> — the token from Verify login code.This endpoint returns the full card number and CVC. Store these values securely and never log them. Handle them like your own card credentials.
locked.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Target a specific card (Rain card id) instead of the primary card.