Skip to main content
POST
/
cancel-vesting
Cancel Vesting
curl --request POST \
  --url https://tokens.shakesco.com/cancel-vesting \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_ref": "<string>"
}
'
{ "tx_hash": "0xabc..." }

Documentation Index

Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index, see llms.txt. Cancels an active vesting grant. Whatever has already vested (but not yet been claimed) is credited to the customer’s available balance. The remaining unvested portion is returned to your token reserve.
This is irreversible. The customer can no longer earn from this grant. Treat it as a transaction and verify with /vesting-info before any retry.

Request Body

customer_ref
string
required
Your unique identifier for this customer

Response

tx_hash
string
Reference identifier for the cancellation
await fetch("https://tokens.shakesco.com/cancel-vesting", {
  method: "POST",
  headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ customer_ref: "customer-123" }),
});
{ "tx_hash": "0xabc..." }