Overview
The Bila Sandbox mirrors the production API exactly - same endpoints, same authentication, same response shapes - but all transactions are fully simulated. No real money moves, no SMS or emails are sent.Sandbox and production are completely isolated. Sandbox keys, wallet IDs, and data do not carry over to production.
What the Sandbox Simulates
Setup
1. Activate the Sandbox
- Log in to your Bila Merchant Dashboard
- Go to Settings → API Keys and Click Activate Sandbox
- Click Create API Key
- Copy and save your key - it will not be shown again in full
sk_test_.
2. Verify Your Connection
walletId - you will need it for collections and transfers.
Base URLs
Authentication
Include your secret key in every request:x-api-key in lowercase. No Bearer tokens are used on merchant-facing routes.
Test Data
Supported Providers
Simulating Success and Failure
By default all transactions succeed. To trigger a failure, include the substringfail anywhere in your reference:
The sandbox does not expose specific PSP error codes. Outcomes are binary -
successful or failed - with a message string stating the reason.Limitations
Support
- Email - support@usebila.com - include your transaction
referenceorX-Bila-DeliveryID
