Skip to main content
POST
/
transfer-tokens
Transfer & Migration
curl --request POST \
  --url https://tokens.shakesco.com/transfer-tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from_email": "<string>",
  "to_email": "<string>",
  "amount": 123,
  "email": "<string>"
}
'
{
  "tx_hash": "0xabc123..."
}

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.

POST /transfer-tokens

Transfer tokens from one customer to another. Both customers are identified by email.

Request Body

from_email
string
required
The sender’s email address
to_email
string
required
The recipient’s email address
amount
number
required
Number of tokens to transfer (e.g. 5 or 2.5)
{
  "tx_hash": "0xabc123..."
}

POST /upgrade-to-shakesco

Migrate a customer’s legacy loyalty points into the Shakesco managed token system. Use this if you’re switching from an existing points system and want to honour customers’ existing balances. See the full Migration Guide for a step-by-step walkthrough.

Request Body

email
string
required
Customer’s email address
amount
number
required
Number of tokens to credit (representing their legacy balance)
{
  "tx_hash": "0xdef456..."
}

POST /receive-from-shakesco

Generate a URL that lets a customer withdraw tokens from their Shakesco balance into their own wallet. Returns a short-lived link (10 minutes).

Request Body

email
string
required
Customer’s email address
amount
number
required
Number of tokens the customer will receive

Response

url
string
The withdrawal URL to send to the customer
expires_at
string
ISO 8601 expiry time (10 minutes)
{
  "url": "https://send.shakesco.com/send-token/eyJ...",
  "expires_at": "2026-05-13T12:10:00.000Z"
}