API reference

Sandbox

2 endpoints. Every call is POST https://api.useburj.com/v1/<path> with a JSON body.

Set the test balance

POST
/sandbox/balance
Sandbox only

Test token only. Recorded as an ADJUSTMENT so statements still add up.

Body

  • balancenumber
    required

    0 to 1,000,000 USD

Errors

  • SANDBOX_ONLY
    HTTP 403

    This endpoint works with the test (sandbox) account only. Use your sandbox (loginType "test") token.

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.

Move a test eSIM through its life

POST
/sandbox/esim/simulate
Sandbox only

Test token only. Runs the same code as the real provider events, so status, usage, analytics and webhooks behave exactly as in production. Call /order/activate first.

Body

  • orderIdstring
    required
  • eventstring
    required

    installed, activated, usage, expired

  • usagePercentnumber
    optional

    For usage: 0–100, default 50

Errors

  • ORDER_NOT_ACTIVATED
    HTTP 409

    Call /order/activate first: a real eSIM can't be installed before it has a profile. Activate the eSIM first, as you would in production.

Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.