POST
/
api
/
v1
/
cards
/
{cardId}
/
stolen
Report a Card as stolen
const url = 'https://api.gnosispay.com/api/v1/cards/{cardId}/stolen';
const options = {method: 'POST', 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);
}
{
  "status": "Card marked as stolen successfully"
}

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 marked as stolen successfully

The response is of type object.