Environments
See Authentication for how to send your key.
How it works
- Catalog - Your assigned products are listed plus Kalixo Test products
(brand Kalixo Test, field
isSandboxProduct: true). Test products are included automatically - you do not need to request them separately. - Orders - Same
POST /v2/ordersandGET /v2/orders/{reference}flow as production, including price validation, wallet balances on responses, and balance debits when wallet ordering is enabled for your account. - Codes - Orders return test redemption codes prefixed with
SANDBOX-. No real inventory is purchased and no live provider fulfilment occurs.
Kalixo Test products
Each test product triggers one outcome, so you can exercise every branch of your integration:
Prices are in minor units (
499 is GBP 4.99). Every scenario exists in GBP (country
GB), USD (US) and EUR for every euro-area country (DE, FR, IE, NL and the
others), each with its own productCode. Each test product has a single market, so country
is optional on its order lines.
Mixed partial: order a success and a failure product in one request to get
partially_completed.
Your catalog products: any product returned by GET /v2/catalog/products can
also be ordered in sandbox; codes are still test-only.
Find the test productCodes
Test productCodes are specific to the sandbox. Read them from either endpoint:GET /v2/catalog/products?brand=Kalixo%20Testreturns them as normal catalog rows.GET /v2/sandbox/scenarios(Sandbox in the API reference) returns each product with its expected outcome and asampleOrderLineyou can send toPOST /v2/ordersas-is. It returns404on the production API.
Response (shortened, example values)
Wallet
If wallet ordering is enabled for your account, sandbox orders debit your sandbox wallet the same way production would. They never touch your production wallet. Top up your sandbox balance through your account manager if you need to test low-balance behaviour.Getting started
- Obtain a sandbox API key (
kal_test_…) from your account manager. - Point all requests at
https://sandbox.kalixo.io/v2. - Call
GET /v2/sandbox/scenariosto list test products. - Follow the Quickstart - place an order, poll until
completed, and read theSANDBOX-*codes from the response. - When you are ready to go live, switch to
https://api.kalixo.io/v2and your production key (kal_live_…). CatalogproductCodes of your assigned products are identical in sandbox and production, so the codes you integrated against keep working.