> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandbox

> Test your Treasury integration end-to-end without real money

Sandbox mode lets you integrate every Treasury endpoint without touching real payment rails. No upstream provider calls are made — all outcomes are simulated.

## Getting sandbox keys

```bash theme={null}
curl -X POST https://api.useaxra.com/api/v1/treasury/signup \
  -H "Content-Type: application/json" \
  -d '{"name": "My Fintech", "slug": "my-fintech"}'
```

Returns `sk_test_*` and `pk_test_*` keys immediately. No approval needed.

## KYC fixtures

| Email                         | Outcome                                     |
| ----------------------------- | ------------------------------------------- |
| `approve@sandbox.useaxra.com` | Instant approval                            |
| `reject@sandbox.useaxra.com`  | Instant rejection                           |
| `pending@sandbox.useaxra.com` | Pending — call `sandbox-approve` to advance |

## Sandbox wallet credit

```bash theme={null}
curl -X POST .../wallets/{walletId}/sandbox-credit \
  -H "Authorization: Bearer sk_test_..." \
  -d '{"amount": "5000", "currency": "NGN"}'
```

## Payout simulation

| `metadata.test_outcome`   | Result                  |
| ------------------------- | ----------------------- |
| *(empty)*                 | Completes in 2s         |
| `fail_insufficient_funds` | Fails + reverses ledger |
| `delay_24h`               | Completes after 24h     |

## Webhook events

All sandbox events fire to your registered webhook endpoints — same format as production.
