This page lists the sandbox test scenarios, so you can test each part of your integration. You need a sandbox API key.
The sandbox is a test mode. Sandbox API keys use the same base URL, paths, and request shapes as live API keys. The product_id you order decides which fixed response you get. So you can test every case your code handles, whenever you want.
| Scenario | product_id |
Type | Returns | Poll with order_id |
|---|---|---|---|---|
| Fulfilled | 018f0000-0000-7000-8000-000000000001 |
voucher | fulfilled, code SANDBOX-CODE-123 |
1CAYVN8V9qVvrLwnnSZsPE |
| Wallet blocked | 018f0000-0000-7000-8000-000000000002 |
voucher | action_required, wallet_topup_required |
1CAYVN8V9qVvrLwnnSZsPF |
| Merchant attention | 018f0000-0000-7000-8000-000000000003 |
top-up | action_required, merchant_attention_required |
1CAYVN8V9qVvrLwnnSZsPG |
| Manual review | 018f0000-0000-7000-8000-000000000004 |
top-up | action_required, manual_review_required |
1CAYVN8V9qVvrLwnnSZsPH |
| Failed | 018f0000-0000-7000-8000-000000000005 |
voucher | failed, fulfillment_failed |
1CAYVN8V9qVvrLwnnSZsPJ |
Any other non-blank product_id works like Fulfilled. The two top-up scenarios need recipient.player_id, so you can test recipient validation too.
POSTScenario:
Request body
Response
What the sandbox does
- It checks requests the same way live does. Missing fields, bad quantities, and wrong recipient keys return the same
422details. - It returns a fixed catalog, a fixed balance, and a
Sandbox Playerprofile for every top-up lookup. - You can poll each scenario’s
order_id, in either the 22-character form or the full UUID.
What it doesn’t do
- It saves nothing. No order is created. So
merchant_order_refis returned in the response but never checked (no409). Polling bymerchant_order_refreturns404. - No money. The store wallet is never charged, and the store wallet requirement doesn’t apply.
- No webhooks. Use the webhook simulator to test your receiver. Or send its sample payloads to your endpoint yourself.
- No cancel. Cancel order returns
403 sandbox_order_cancellation_not_supported. - No catalog or API key restrictions. Any non-blank
product_idis accepted. Delivery-type restrictions on the API key are ignored. Top-up lookups on an unknown product returnfound.
How sandbox responses differ from live
- Sandbox orders include
"code": nulland"merchant_order_ref": null(when polled). Live responses leave out keys that have no value. Your code MUST treat a missing key andnullthe same way. - The Failed scenario’s
failure_reasonisSandbox fulfillment failed. Live failure reasons use different words. Your code MUST checkfailure_code, NEVER the text.
