Guides

The pattern that does not change

  1. 1

    Sign on the server

    timestamp, nonce, method, path and raw body → HMAC-SHA256. The secret never leaves the server, including in game clients.

  2. 2

    Create one order per purchase

    Send amount + your own order reference. The reference is the idempotency key; reuse it on retry.

  3. 3

    Send the player to checkout_url

    Browser redirect, deep link, or a button in chat. The player picks chain and asset there.

  4. 4

    Deliver only on a verified payment.succeeded

    Verify timestamp.body, reject older than five minutes, deduplicate by event_id, then grant.

The one rule that matters: a secret in a client build is a published secret. Unity, Unreal and Discord integrations all proxy through your backend for exactly this reason.

Integration questions

Is there an official SDK?

No. The API is small enough that a readable 20-line module beats a dependency; the guides give you that module per stack.

Can I test without a server?

Payment links cover no-backend flows. For webhooks you need an endpoint; a local tunnel plus sandbox keys is enough.

Which stack is fastest to ship?

Whichever one you already deploy. The integration is three moves; the stack only changes the raw-body handling.

Open the sandbox and send yourself a test order

The sandbox is the default. Create an app, create an order, watch a webhook arrive — then flip one environment variable.

Open the console