1. Create a sandbox key
In your reseller dashboard, create an API key in the test environment. It is prefixedsc_test_ and shown once — copy it now.
2. Browse the catalog
Each catalog item is a purchasable denomination. Itsid is what you order.
Response
Some products require purchase-form values (a game top-up needs a player id, for example). They carry
an
inputFields array — see Purchase input fields. This gift card needs none.3. Place an order
An order carries one or morelines, each a product id and a quantity. Include an
Idempotency-Key so a retry never places the order twice (see Idempotency).
Response
id and its status. In the sandbox an order is fulfilled at once, so
it is born completed; a live order settles asynchronously — follow it on the
order lifecycle.
4. Fetch the codes
Once the order iscompleted — you receive an order.fulfilled webhook, or you poll
GET /v1/orders/{id} — fetch the codes:
Response
TEST- values. Switch to a sc_live_ key to order
against your real wallet and supply.