Get card PIN
curl --request GET \
--url https://api.qash.ai/api/v1/cards/pin \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/pin', 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/pin"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"pin": "1234",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last4": "8567"
}Cards
Get card PIN
Return the PIN of the authenticated user’s primary card.
GET
/
api
/
v1
/
cards
/
pin
Get card PIN
curl --request GET \
--url https://api.qash.ai/api/v1/cards/pin \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qash.ai/api/v1/cards/pin', 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/pin"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"pin": "1234",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last4": "8567"
}Requires
Authorization: Bearer <user-access-token> — the token from Verify login code.locked, the PIN is not returned.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.