Use sandbox for development, automated tests, and integration verification.
Move to the production base URL only after completing the go-live checklist.
For a guided check of invoice creation, redirect, and callbacks, see
Test in sandbox.
Authentication levels
Most merchant endpoints require the API key in a request header:Endpoints
See Create an invoice API for a field-by-field request
reference and the response fields used for payment verification.
See Statuses and lifecycle for the meanings of invoice,
withdrawal, and refund request states.
Discover the API
Use the OpenAPI specification for the environment you are calling to inspect its currently deployed request and response schemas. During a staged rollout, an endpoint may appear in one environment before another:- Sandbox Swagger UI:
https://api-sandbox.billions.works/public/v1/docs - Sandbox OpenAPI JSON:
https://api-sandbox.billions.works/public/v1/swagger.json - Production Swagger UI:
https://api.billions.works/public/v1/docs - Production OpenAPI JSON:
https://api.billions.works/public/v1/swagger.json
Rate limits and network allowlists
No numeric Public API rate limit or guaranteed callback source-IP range is published here. Do not build against an assumed requests-per-minute limit or hard-code an IP list found in an old response. Handle429 and transient
errors with bounded backoff, honor Retry-After when present, and preserve
idempotency keys across retries. If your firewall requires a fixed callback
source range, ask Billions support for the current operational guidance.