Sign In

Sandbox & Production

Build and test against the sandbox with UAT gateways, then flip to production by changing only the base URL and credentials.

Environments

EnvironmentBase URLMoney
Sandboxhttps://sandbox.growthbnk.comTest only — no real money moves.
Productionhttps://api.growthbnk.comLive — real settlements.
Same contract, different URL

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.

ScenarioCard numberExpiry / CVVResult
Successful payment4111 1111 1111 1111Any future date / any CVVSUCCESS
Failed payment4000 0000 0000 0002Any future date / any CVVFAILURE
UPI successsuccess@upiSUCCESS
UPI failurefailure@upiFAILURE
Test values only

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:

  1. Call Initiate Payment against the sandbox base URL.
  2. Open the returned payment_link and complete checkout with a test instrument above.
  3. Confirm the outcome with Transaction Status and/or your webhook.
  4. 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.