POST
/
v1
/
cards
/
{cardId}
/
cancel
curl --request POST \
  --url https://api.chron.com/v1/cards/{cardId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "clientReference": "<string>",
  "status": "WAITING_ACTIVATION",
  "initialBalance": 123,
  "currentBalance": 123,
  "expiryDate": "2023-11-07T05:31:56Z",
  "design": "<string>",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "activatedAt": "2023-11-07T05:31:56Z",
  "cancelledAt": "2023-11-07T05:31:56Z",
  "cancellationAmount": 123,
  "cancellationAction": "EXPIRY",
  "transactions": [
    {
      "transactionId": "<string>",
      "amount": 123,
      "type": "LOAD",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cardId
string
required

Unique identifier for the card.

Response

200
application/json

Card cancelled successfully.

The response is of type object.