JavaScript
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.valox.co/api/v1/cards/{cardId}/unfreeze', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "status": "Card unfrozen successfully" }
This will allow the card to be used for transactions. The card needs to be active and in a frozen state.
:::info The card can be frozen and unfrozen instantly and multiple times. :::
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Card unfrozen successfully