One API call to get paid in crypto.
Create an invoice, send your customer to the hosted page, and wait for a signed webhook. Bitcoin, Litecoin, Ethereum and BNB Smart Chain, with USDT and USDC, for 0.5% per payment.
- base
- https://api.coinsflow.app
- auth
- Bearer key, one per merchant
- spec
- OpenAPI 3.1, every endpoint
- sdk
- none to install
curl https://api.coinsflow.app/v1/invoices \
-H "Authorization: Bearer cf_live_…" \
-H "Idempotency-Key: order-A-1042" \
-H "Content-Type: application/json" \
-d '{
"chain": "bsc",
"asset": "USDT",
"priceAmount": "120.00",
"orderId": "A-1042"
}'{
"status": "pending",
"amountDue": "120.00",
"address": "0xfF3f…d85a",
"paymentUrl": "https://coinsflow.app/invoice/c21e…"
}Your server hears about every change.
Each event is signed with your endpoint’s secret, so you can prove it came from us. If your server does not answer, we try again after 3 seconds, 30 seconds, 5 minutes, 1 hour, 6 hours and 24 hours, and you can send any delivery again from the dashboard.
- HMAC-SHA256 over the timestamp and the raw body
- Twelve events for invoices and withdrawals; subscribe to the ones you want
- A delivery log with the response your server gave
// CoinsFlow-Signature: t=1791294899,v1=5f2c…
const [t, v1] = header.split(",").map((p) => p.split("=")[1]);
const mac = crypto.createHmac("sha256", secret)
.update(t + "." + rawBody).digest("hex");
const ok = v1.length === mac.length
&& crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(mac));The whole API fits on one screen.
/v1/invoicesCreate an invoice, priced in USD or in cryptoGET/v1/invoices/:idIts status, and every payment that reached itPOST/v1/invoices/:id/cancelCancel one that has not been paidPOST/v1/invoices/:id/acceptTake a short payment as payment in fullGET/v1/balancesWhat you can withdraw, coin by coinGET/v1/withdrawals/quoteThe network fee, before you commit to anythingPOST/v1/withdrawalsSend your balance to an address on the same networkGET/v1/webhooksYour endpoints, their deliveries, and a test eventDetails that save you a support ticket.
Idempotency-KeyOn every write. A retry after a timeout never makes a second invoice or a second withdrawal.
"120.00"Amounts are exact decimal strings in both directions. No floats, so no 119.99999.
One keyPer merchant, for everything: invoices, balances and withdrawals. Copy it again or rotate it in the dashboard.
50 req/sPer address, with room for bursts, before you ever see a 429.
0.5% per payment. Nothing else.
No setup fee and no monthly fee. A withdrawal costs the network’s own fee, and you see it before you confirm. See the full pricing
Checkout pages live at coinsflow.app/invoice/… and open in any browser; the customer pays from any wallet.
Worked examples with the webhook handler: a Discord bot and a Minecraft server store. A page for each coin: accept Bitcoin, Litecoin, Ethereum, BNB, USDT or USDC.
Two guides: Webhooks for crypto payments: verifying the signature and handling retries, and Test mode: how to test crypto payments end to end without spending a coin.