Developers & AI agents

Ship stablecoin payments in minutes

A Stripe-compatible API, machine-payable x402 charges for AI agents, and signed webhooks, all on self-custodial rails you can verify on-chain.

  • Stripe-compatible. Checkout sessions, charges, idempotency keys and pagination. Swap the import and key, keep your code.
  • x402 for agents. Return an HTTP 402, an AI agent pays USDT or USDC per call, you verify and serve.
  • Signed webhooks. HMAC-signed, auto-retried events for payment.paid, refund.succeeded and more.
  • Self-custodial. Funds settle straight to a wallet only you can move, never a Sendbase balance.
View the API reference
What you can build

The API surface, at a glance

Checkout sessions

Create a hosted checkout with line items and success and cancel URLs, exactly like Stripe Checkout.

Charges

One-off charges for a fixed amount, with an idempotency key so retries never double-charge.

x402 charges

Return an HTTP 402 with a payment requirement, and let an AI agent pay USDT or USDC before you serve.

Refunds

Issue full or partial refunds back to the customer, initiated from your account, non-custodially.

Webhooks

HMAC-signed, auto-retried events for payment.paid, payout.completed, refund.succeeded, and agent activity.

Balance & transactions

Read your balance and paginate transactions to reconcile against your own systems.

How it works

Live in three steps

  1. 1

    Get your API keys

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

  2. 2

    Swap the import

    Point your existing Stripe-style code at Sendbase. Checkout sessions and charges keep the same shape.

  3. 3

    Go live on-chain

    Customers and agents pay in USDT or USDC, settlement is on-chain in seconds, and webhooks keep you in sync.

FAQ

Developer questions, answered

Checkout sessions, charges, idempotency keys, and pagination mirror Stripe's shapes, so teams that know Stripe can swap the import and key and keep their code. Full details are in the API reference.

x402 is a standard for machine-payable APIs using HTTP 402 Payment Required. You return a 402 with a price, the agent pays USDT or USDC to a generated address, and once it settles you serve the response. See AI agents.

Register an endpoint and Sendbase sends HMAC-signed, auto-retried events (payment.paid, payout.completed, refund.succeeded, and more) so your systems react the moment money moves.

Start building

Grab your API keys and drop stablecoin payments into your app in minutes.