JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.valox.co/api/v1/cards/{cardId}/status', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "statusCode": 123, "isFrozen": true, "isStolen": true, "isLost": true, "isBlocked": true, "isVoid": true, "activatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Card Status was retrieved successfully