POST /api/v1/orders
| Field | Type | Required | Notes |
|---|---|---|---|
amount | string | yes | USD amount, up to 6 decimals. Do not build it from floats. |
merchant_order_ref | string | yes | Your order number. Unique together with AppID and therefore a natural idempotency key: a repeat returns the same order. |
description | string | no | Shown to the player, e.g. "Season Pass · 30 days". |
merchant_user_ref | string | no | Opaque user id (e.g. u_10231) used to attribute overpayments, late arrivals and daily limits. Never send email, phone or anything personally identifying. |
metadata | object | no | Any key/value, echoed back verbatim. |
redirect_ok / redirect_fail | string | no | Where to send the player after success or failure. |
template_id | string | no | Scenario template T1–T9, overriding a dozen parameters at once (quote locking, tolerance, settlement cycle…). |
overrides | object | no | Per-order parameter overrides, highest priority. Security-sensitive parameters are direction-locked. |
split_rule_id | string | no | Split rule id. The order snapshots that version of the rule. |