GET
/
api
/
v1
/
cards
/
{cardId}
/
status
Get a Card status
const url = 'https://api.gnosispay.com/api/v1/cards/{cardId}/status';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "activatedAt": "2023-11-07T05:31:56Z",
  "statusCode": 123,
  "isFrozen": true,
  "isStolen": true,
  "isLost": true,
  "isBlocked": true,
  "isVoid": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Response

200
application/json

Card Status was retrieved successfully

The response is of type object.