Skip to main content
POST
/
api
/
v1
/
cards
/
{cardId}
/
activate
Activate a Card
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/cards/{cardId}/activate', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "status": "Card activated 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

The card was activated successfully

status
enum<string>
Available options:
Card activated successfully