Skip to main content
This walks through placing an order with a sandbox key and fetching its codes.

1. Create a sandbox key

In your reseller dashboard, create an API key in the test environment. It is prefixed sc_test_ and shown once — copy it now.

2. Browse the catalog

Each product is a purchasable denomination. Its id is what you order.

3. Place an order

Send the product id and quantity. Include an Idempotency-Key so a retry never places the order twice (see Idempotency).
The response carries the order id and its status.

4. Fetch the codes

Once the order is completed — you will receive an order.fulfilled webhook, or you can poll GET /v1/orders/{id} — fetch the codes:
In the sandbox the codes are deterministic test values. Switch to a sc_live_ key to order against your real wallet and supply.