Skip to main content
POST
/
api
/
v1
/
order
/
{orderId}
/
cancel
Cancel a Physical Card Order
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/order/{orderId}/cancel', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ok": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

orderId
string
required

The unique identifier of the card order to cancel.

Response

Card order successfully cancelled.

ok
boolean
Example:

true