Skip to main content

Welcome to Shakesco API

Build crypto payment solutions with the Shakesco API suite. Accept recurring subscriptions, generate payment links, integrate checkout flows, and manage loyalty programs on Ethereum and Polygon.

API Products


Base URL

https://autopay.shakesco.com

Authentication

All API requests require authentication using 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 your API key from the dashboard. 2. Deploy your account Use the Shakesco app to deploy the appropriate account type:
  • Business Auto account (for subscriptions)
  • Personal account (for payment links)
3. Make your first request Recurring payment:
const response = await fetch("https://autopay.shakesco.com/request", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    auto_address: "0x...",
    network: "137",
    delegate_address: "0x...",
    currency_code: "USD",
    period: "2592000",
    amount: "20",
  }),
});
Payment link:
const response = await fetch("https://autopay.shakesco.com/support_session", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    description: "Payment for services",
    currency_code: "USD",
    amount: "50",
    type: "pay",
    tokens: ["USDC", "ETH"],
  }),
});

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
402Payment Required - Request limit reached
403Forbidden - Invalid address or permissions
404Not Found - Invalid account or user not found
500Internal Server Error - Contact support

Need Help?