Skip to main content
For the complete documentation index, see llms.txt.

Welcome to Shakesco API

Build crypto payment solutions with the Shakesco API suite. Create invoices, query customer analytics, manage store items, and run full-featured loyalty token programs, all on Ethereum and Polygon.

API Products

Payment Links API

Create invoices, query analytics, and browse store items

Tokens API

Manage loyalty tokens: rewards, staking, vesting, cashback, and more

Auto-Payments API (Beta)

Accept recurring crypto subscriptions with automated billing

Currency Codes

List all supported currency codes used across APIs

Base URLs

APIBase URL
Payment Linkshttps://payments.shakesco.com
Loyalty Tokenshttps://tokens.shakesco.com
Auto-Paymentshttps://payments.shakesco.com

Authentication

All API requests require your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Get your API key from the Shakesco Dashboard.

Quick Start

1. Get your API key: Sign up and retrieve it from the dashboard. 2. Make your first request Create an invoice:
const response = await fetch("https://payments.shakesco.com/invoices", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    type: "public",
    currency: "USD",
    payer_email: "customer@example.com",
    payer_name: "John Doe",
    items: [{ description: "Consulting", unit: 1, price: 150 }],
  }),
});
Claim loyalty tokens for a customer:
const response = await fetch("https://tokens.shakesco.com/claim-tokens", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    event_name: "signup",
    customer_ref: "customer-123",
  }),
});

Supported Networks

NetworkChain IDUse Case
Ethereum Mainnet1Production deployments
Polygon Mainnet137Lower fees, faster transactions
Sepolia Testnet11155111Testing and development

Rate Limits

Rate limits vary by plan. Check your pricing tier for details.

Common Error Codes

CodeMeaning
400Bad request, check parameter formatting
401Unauthorized, invalid or missing API key
403Forbidden, invalid address or permissions
404Not Found, resource does not exist
409Conflict, action already performed
429Too Many Requests, daily cap or rate limit
500Internal Server Error, contact support

Need Help?

Contact Support

Get help from our team

View Pricing

Check plans and limits

Transaction Fees

See fee structure

Dashboard

Manage your API keys