Skip to main content
POST
/
receive-from-shakesco
Receive from Shakesco
curl --request POST \
  --url https://tokens.shakesco.com/receive-from-shakesco \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_ref": "<string>",
  "amount": 123
}
'
{
  "url": "https://send.shakesco.com/send-token/eyJ...",
  "expires_at": "2026-05-13T12:10:00.000Z"
}

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. Returns a short-lived URL (30 minutes) that lets the customer withdraw a specified amount of tokens from their Shakesco managed balance into their own wallet. Hand the URL to the customer (push notification, email, in-app link).

Request Body

customer_ref
string
required
Your unique identifier for this customer
amount
number
required
Number of tokens the customer will receive. Decimals allowed.

Response

url
string
Short-lived withdrawal URL
expires_at
string
ISO 8601 timestamp when the URL stops working
const res = await fetch("https://tokens.shakesco.com/receive-from-shakesco", {
  method: "POST",
  headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ customer_ref: "customer-123", amount: 10 }),
});
const { url, expires_at } = await res.json();
{
  "url": "https://send.shakesco.com/send-token/eyJ...",
  "expires_at": "2026-05-13T12:10:00.000Z"
}