Sandbox vs Live
| Sandbox | Live | |
|---|---|---|
| Host | https://sandbox-api.flyrail.space/v1 |
https://api.flyrail.space/v1 |
| Keys | fr_test_sk_… |
fr_live_sk_… |
| Airlines | Realistic fake airlines | Real airlines |
| Money | Test wallet, free to top up | Your real prepaid wallet |
| Available | Straight after registering | After approval and your first deposit |
A key only works on its own host. A test key on the live host (or the reverse) is refused with wrong_environment, so a mistake can't spend real money.
Bookings, wallet balances, webhook endpoints and logs are kept separate for each environment.
Live keys also need two-factor authentication on the person creating them, and stop working immediately if your account is suspended.