Developers

APIs you'll actually enjoy integrating.

REST + webhooks. Idempotency keys, HMAC-signed events, TypeScript types and first-class error semantics.

webhook handler
import { verifyWebhook } from "@flowwpay/sdk";

export async function POST(req: Request) {
  const sig = req.headers.get("x-flowwpay-signature")!;
  const body = await req.text();

  const event = verifyWebhook(body, sig, process.env.FLOWW_WEBHOOK_SECRET!);

  if (event.type === "payment.succeeded") {
    await creditTrader(event.data.clientId, event.data.amount_usdt);
  }
  return new Response("ok");
}

API keys

Scoped keys, rotate any time, full audit trail.

Webhooks

HMAC-signed, retried, replayable from the dashboard.

TypeScript

First-class types for every endpoint and event.

CLI & sandbox

Spin up test payments instantly from your shell.

Quickstart

Create a payment in three steps. Get a hosted checkout URL back. Forward your trader.

  1. 1Create an API key in the dashboard.
  2. 2POST /v1/payments with amount and clientId.
  3. 3Forward the returned checkout_url to your user.
curl
curl -X POST https://api.flowwpay.com/v1/payments \
  -H "Authorization: Bearer $FLOWW_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "clientId": "trader_4231",
    "amount_usdt": 1500,
    "network": "tron"
  }'

Ready to ship?

Create an account, grab a sandbox key and send your first transaction.

Get API access