Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Recipes Sandbox Sandbox

Sandbox

What the Gravv sandbox can and cannot produce for each product today, and which recipe tests a deposit, a card, a payout, a verification, a USDC send or savings.

3 min read

Sandbox runs the same API as live, with test money. These recipes show, product by product, what you can and cannot produce in sandbox today. Where sandbox cannot produce a result, test those screens with recorded webhook payloads instead.

A money example. You simulate a 50,000 NGN deposit into a sandbox NGN account. The real deposit pipeline runs. Gravv credits the account, writes a transaction row, and sends transfer.inflow.completed to your sandbox webhook URL. Then you pay 20,000 NGN to a Nigerian bank payee, and the payout completes in about 3 minutes.

To run these flows without writing code first, use the Gravv CLI. gravv try wallet makes a customer and a wallet and pays 20 test USDC into it. With --curl, it prints each call as curl.

How sandbox differs from live

SandboxLive
How you choose itA key that starts with grvSec_sandbox_Any other key
Hosthttps://api.gravv.xyzThe same
DataSeparate. A sandbox id returns "not found" with a live key, and a live id returns "not found" with a sandbox keySeparate from sandbox
Webhook URL and secretTheir own, set in the Dashboard in Sandbox modeTheir own
Request rulesThe same validation, permissions, Idempotency-Key rules and rate limitsThe same
Release timingChanges reach sandbox first, so sandbox can be a few days ahead of liveChanges reach live after sandbox

What you can produce today

ProductStatus in sandboxRecipe
A deposit into an NGN accountAvailableMake a test deposit land
A deposit into a USD, EUR or GBP accountNot yet available. Those accounts do not open in sandbox todayMake a test deposit land
A returned or failed depositNot yet availableNo recipe
Issuing a virtual card, reading it, freezing it, changing its limitAvailable, for a verified cardholderTest a card in sandbox
Card purchases and declinesNot yet availableTest a card in sandbox
Withdrawing from a cardAvailableClose a card and get the money back
Physical cardsNot yet availableTest a card in sandbox
A naira bank payout, some mobile-wallet payoutsAvailableRun a test payout
A payout that fails, returns or pauses on purposeNot yet availableRun a test payout
A customer's verification completingAvailable. Every finished review completes, so a rejection cannot be testedVerify a customer in sandbox
A same-network USDC send between walletsAvailable, from a wallet that holds test dollarsSend USDC in sandbox
A cross-network USDC send, a failed crypto sendNot yet availableSend USDC in sandbox
An FX quote or orderNot yet available. Sandbox has no OTC ratesForeign exchange
Collections from a payerNot yet available in these recipesNo recipe
Savings: a savings account, saves, withdrawals, interest, statements, a failed save, a waiting or refunded withdrawalAvailable, for a verified customerTest savings end to end
Reading limitsAvailable. The sandbox policy only records breaches, so nothing pausesCheck what a sender can still send
Webhooks: storing, retrying, history, resendAvailable, as in liveTrace a transfer and resend a webhook

Rules every recipe relies on

•
Every POST needs its own new Idempotency-Key, as in live. Gravv replays a 4xx response for 24 hours under its key, so use a new key after you fix a request.
•
The deposit simulator, POST /v2/accounts/simulate/deposit, and the interest simulator, POST /v1/savings/simulate/interest, are the only sandbox-only routes. A live key is refused by both, so they can never move real money.
•
Never add _simulate_web3 to a transfer. If you do, the transfer never completes.
•
Sandbox wallets are test-network wallets. On EVM networks the USDC balance is the sandbox test dollar, a test token that stands for US dollars. USDC from a public faucet does not show in that balance.
•
Keep uploaded documents under 500 KB. From about 600 KB, sandbox returns 413.
•
Never use a sandbox result as evidence for a live customer or payout.

For the known sandbox issues, see Environments.