1. In the console, open Apps & keys → create an app. Copy the AppID and the sk_test_… key (shown once).
  2. From your server, call POST /api/v1/orders and take the checkout_url.
  3. Redirect the player to checkout_url, or send them the link directly.
  4. Listen for the payment.succeeded webhook and deliver only after the signature checks out.
# 1) create an order (signing is covered in the next section)
curl -X POST https://api.gaapay.com/api/v1/orders \
  -H "content-type: application/json" \
  -H "x-gaapay-app: app_xxx" \
  -H "x-gaapay-timestamp: 1792596770" \
  -H "x-gaapay-nonce: 3f1c9a2e" \
  -H "x-gaapay-signature: 9d1f…" \
  -d '{"amount":"19.90","merchant_order_ref":"order_20261021_001","description":"Season Pass · 30 days"}'

# 2) response
{
  "object": "order",
  "id": "ord_01m5f…",
  "short_code": "GP-20261021-8F3A2C",
  "status": "QUOTED",
  "amount": 19.9,
  "checkout_url": "https://checkout.gaapay.com/pay/VCCC…",
  "expires_at": "2026-10-21T14:46:56.632Z"
}
Sandbox: with MODE=sandbox the checkout shows a sandbox console where you can trigger eight scenarios in one click — normal payment, underpay, overpay, expiry, wrong network, wrong asset, reorg and risk hold. All of them run through the same ingestion pipeline as production.