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

# Sandbox

In Q1 we are adding the `/simulate` and `/advance` endpoints to the sandbox, so partners can move test payments through each stage themselves.

## **What partners can test today**

| **Area** | **In sandbox today** | **Details** |
| :- | :- | :- |
| **On-ramp** | Available | Payments are simulated and advance automatically to `posted`.  If the account does not have enough funds, the payment fails or is rejected, depending on the stage at which the balance runs too low.  Use the test values below to trigger other outcomes. |
| **FX payout** | Available | Payments are simulated and advance automatically to `posted`.  If the account does not have enough funds, the payment fails or is rejected, depending on the stage at which the balance runs too low.  Use the test values below to trigger other outcomes. |
| **Off-ramp** | Coming Q1 | Off-ramp, including deposit addresses, cannot be tested in sandbox yet. It can be tested in production today. |

## **Test values for on-ramp outcomes**

Most outcomes are triggered by setting the recipient's `first_name` to one of the values below.

<table>
  <colgroup>
    <col width="168" />

    <col width="213" />

    <col width="329" />
  </colgroup>

  <thead>
    <tr>
      <th>**Scenario**</th>
      <th>**How to trigger it**</th>
      <th>**Result**</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>**Happy path**</td>
      <td>Any ordinary `first_name`</td>
      <td>The debit, FedNow transfer, deposit and payout all complete. The payment reaches `posted` with a transaction hash.</td>
    </tr>

    <tr>
      <td>**Recipient denied**</td>
      <td>`DESTINATION_DENIED`</td>
      <td>The payment is `rejected` with reason `payment_could_not_be_processed`.</td>
    </tr>

    <tr>
      <td>**Recipient inactive**</td>
      <td>`DESTINATION_INACTIVE`</td>
      <td>The payment is `rejected`, and the cached recipient is marked inactive.</td>
    </tr>

    <tr>
      <td>**Recipient never clears**</td>
      <td>`DESTINATION_PENDING`</td>
      <td>The payment waits, then is `rejected` after 1 minute.</td>
    </tr>

    <tr>
      <td>**Recipient slow to clear**</td>
      <td>`DESTINATION_SCREENING`</td>
      <td>The payment waits about 1 minute, then reaches `posted`.</td>
    </tr>
  </tbody>
</table>

## **FAQ**

### **What funds does the sandbox use?**

Sandbox uses simulated funds. No real money or blockchain testnet money moves.

### **Are there refunds for on-ramp or off-ramp payments?**

No. There are no refunds for on-ramps or off-ramps. Refunds apply only to FX payouts.
