Docs
Webhooks
Payload
POST https://api.example.com/ringcheckout
RingCheckout-Signature: t=1795392000,v1=4be1c0...
{ "id": "evt_...", "type": "payment.paid", "created": 1795392000,
"data": { "session": "9f1c...e07a", "order_ref": "order-1042", "link": "lnk_...",
"amount": "12500000", "amount_display": "12.5", "asset": "USDC",
"paying_ring": "7Hq2...pX4n", "signature": "5Kt...", "payment": "pay_...",
"paid_at": "2026-11-22T19:12:04.000Z", "livemode": true } }Events: payment.paid, settlement.sent, stream.paid and ping (the dashboard's test event).
Verify the signature
import { createHmac, timingSafeEqual } from "node:crypto";
export function verify(secret: string, raw: string, header: string) {
const p = Object.fromEntries(header.split(",").map((x) => x.split("=")));
const t = Number(p.t);
if (Math.abs(Date.now() / 1000 - t) > 300) return false; // replay window
const want = createHmac("sha256", secret).update(`${t}.${raw}`).digest();
const got = Buffer.from(p.v1, "hex");
return got.length === want.length && timingSafeEqual(got, want);
}Hash the raw body exactly as received, before any JSON parsing. The signing secret is in the dashboard under Webhooks.
Retries
Any answer other than 2xx is retried after 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours and 24 hours, then marked failed. Make your handler idempotent on data.payment.