POST /v1/ramp/org/simulate-transaction — Simulate an on-ramp transaction lifecycle (sandbox only)
POST https://api.rebelfi.io/v1/ramp/org/simulate-transaction| Field | Type | Required | Description |
|---|---|---|---|
scenario | string | No | Simulation scenario (default: "success" — options: success, failed, rejected, reversed) |
usd_amount | number | No | Simulated USD amount (default: 50000) |
onramp_account_id | number | No | On-ramp account ID to simulate against |
| Scenario | Status Progression |
|---|---|
success | pending -> processing -> in_progress -> broadcasted -> completed |
failed | pending -> processing -> failed |
rejected | pending -> rejected |
reversed | pending -> processing -> in_progress -> broadcasted -> completed -> reversed |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the simulation was accepted |
data.simulation_id | string | Unique identifier for the simulation |
data.state | string | Simulation state (accepted) |