STABLEPAY DEVELOPER DOCS

ACCEPT USDC PAYMENTS IN MINUTES

Simple APIs for crypto payments, wallet infrastructure, and fiat onramps

QUICK START

1. ADD THE CHECKOUT WIDGET

Add this to your webpage to accept USDC payments:

<script src="https://wetakestables.shop/checkout-widget.js"></script>
<div
  class="stablepay-checkout"
  data-amount="100"
  data-currency="USDC"
  data-merchant="your_merchant_id"
  data-recipient="0x..."
></div>

2. LIVE DEMO

See the checkout widget in action:

CHECKOUT API

CREATE CHECKOUT SESSION

Create a payment session programmatically

POST /api/v1/checkout/sessions

{
  "amount": 100,
  "currency": "USDC",
  "merchantId": "merchant_123",
  "recipient": "0x...",
  "successUrl": "https://yoursite.com/success"
}

RESPONSE

{
  "id": "cs_1234567890",
  "status": "pending",
  "amount": 100,
  "currency": "USDC",
  "paymentUrl": "https://stablepay.com/pay/cs_123",
  "expiresAt": "2024-01-01T12:00:00Z"
}

WALLET API

CREATE CUSTOMER WALLET

Generate invisible wallets for your users

POST /api/v1/wallets

{
  "email": "user@example.com",
  "name": "John Doe",
  "chain": "base",
  "merchantId": "merchant_123"
}

GET WALLET BALANCE

{
  "id": "wallet_1234567890",
  "address": "0x...",
  "chain": "base",
  "email": "user@example.com",
  "balance": {
    "USDC": "100.00",
    "native": "0.01"
  }
}

PLATFORM FEATURES

EMBEDDED CHECKOUT

Accept crypto and card payments with a single widget

INVISIBLE WALLETS

Create wallets for users without them knowing it's crypto

FIAT ON/OFF RAMPS

Convert between traditional money and USDC seamlessly

MULTI-CHAIN

Support Ethereum, Base, Polygon, Arbitrum, Solana

INSTANT SETTLEMENT

Receive USDC payments in seconds, not days

DEVELOPER APIS

Full REST API with webhooks and real-time events

READY TO GET STARTED?

Join hundreds of businesses accepting USDC payments with StablePay

CREATE FREE ACCOUNT