Sandbox

Base URL: https://sandbox.sabikagold.com — the full production security stack (mTLS, OAuth, JWS, idempotency) with simulated market behavior. Sandbox credentials are rejected by production and vice versa.

Funding

POST /sandbox/fund
{"amount_sar": 100000}        # up to 1,000,000 SAR per call, instant

Fires a real deposit.received webhook.

Prices

Sandbox prices random-walk around the live spot price and are never stale — quotes always succeed.

Magic values

TriggerEffect
Order with gold_grams = 13.13502 execution_failed, order recorded failed, order.failed webhook
Withdrawal with sar_amount = 13.13settles failed immediately, auto-refund, withdrawal.settled webhook