Developers

The stablecoin payment API for USDT & USDC

Accept stablecoins programmatically with an API that mirrors Stripe. Checkout sessions, charges, idempotency, signed webhooks, and x402 for AI agents, all on self-custodial rails you can verify on-chain.

What is a stablecoin payment API?

A stablecoin payment API lets your application accept payments in stablecoins like USDT and USDC without building blockchain plumbing yourself. You create a checkout session or a charge, the customer pays on-chain, and your server receives a signed webhook the moment it settles. Sendbase handles address generation, on-chain monitoring, receipts, and reconciliation, and exposes it all through an API shaped like Stripe.

Because Sendbase is self-custodial, funds settle straight to a wallet only you control, never a platform balance. Settlement is final in seconds on BNB Smart Chain, and every payment is verifiable on BscScan.

Swap the import

If you know Stripe, you know this

Checkout sessions and charges mirror Stripe's shapes, with idempotency keys and forward pagination. Point your existing code at Sendbase, swap the key, and start settling in stablecoins.

  • Checkout sessions & charges. Hosted checkout or one-off charges, with idempotency so retries never double-charge.
  • Signed webhooks. HMAC-signed, auto-retried events for payments, payouts, and refunds.
  • x402 for agents. Charge AI agents per call with an HTTP 402 payment requirement.
Read the API reference
How to integrate

Live in three steps

  1. 1

    Get your API keys

    Create a business account and generate a live key. Restricted keys scope what each key can do.

  2. 2

    Create a session or charge

    Call the API to create a checkout session or charge. The customer pays in USDT or USDC on-chain.

  3. 3

    Handle the webhook

    Receive a signed payment.paid event when it settles, then fulfil the order. Funds land in your wallet.

FAQ

API questions, answered

It lets your software accept payments in stablecoins like USDT and USDC programmatically. You create checkout sessions and charges, receive signed webhooks when a payment settles on-chain, and reconcile against your own systems, using an API that mirrors Stripe.

USDT and USDC (BEP-20) on BNB Smart Chain. You can accept either or both and let the customer choose at checkout.

Yes. The API supports x402, so you can return an HTTP 402 with a price and let an AI agent pay in USDT or USDC before you serve. See AI agents.

Start building

Grab your API keys and accept stablecoins in minutes.