JavaScript
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.gnosispay.com/api/v1/cards/{cardId}/stolen', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "status": "Card marked as stolen successfully" }
Documentation IndexFetch the complete documentation index at: https://docs.gnosispay.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.gnosispay.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Card marked as stolen successfully