Sandbox & Production
Build and test against the sandbox with UAT gateways, then flip to production by changing only the base URL and credentials.
Environments
| Environment | Base URL | Money |
|---|---|---|
| Sandbox | https://sandbox.growthbnk.com | Test only — no real money moves. |
| Production | https://api.growthbnk.com | Live — real settlements. |
The request/response contract is identical across environments. Point your integration at the sandbox base URL with your sandbox credentials to test end-to-end.
UAT Gateways
In the sandbox, GrowthBnk routes payments to the UAT (test) environments of the underlying aggregators and gateways. No live gateway is ever contacted, and no real money is captured, settled or refunded.
Test Cards
Use these representative test instruments on the hosted checkout to simulate outcomes. Exact test credentials depend on the routed UAT gateway; your onboarding pack lists the full set.
| Scenario | Card number | Expiry / CVV | Result |
|---|---|---|---|
| Successful payment | 4111 1111 1111 1111 | Any future date / any CVV | SUCCESS |
| Failed payment | 4000 0000 0000 0002 | Any future date / any CVV | FAILURE |
| UPI success | success@upi | — | SUCCESS |
| UPI failure | failure@upi | — | FAILURE |
These numbers work only in the sandbox and are rejected in production. Never use real card details when testing.
Test Transactions
A typical sandbox run:
- Call Initiate Payment against the sandbox base URL.
- Open the returned
payment_linkand complete checkout with a test instrument above. - Confirm the outcome with Transaction Status and/or your webhook.
- Exercise Refund Initiate and Refund Status on a successful test payment.
Going Live
When you are ready, swap the base URL to https://api.growthbnk.com and replace your sandbox
API key and salt with production credentials. No code changes to the request structure are required.