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

# Test mode

> Run the whole flow with no real money and no real tickets.

A `pk_test_` key runs every step of the flow exactly as live, with nothing real behind it.

| Step | In test mode |
| - | - |
| Search | Realistic dummy offers, with ids starting `off_test_` |
| Sessions and travellers | Same checks as live, including passports on international trips |
| Payment | Simulated orders, QR codes, links and UPI intents |
| Confirm | Needs the travellers and the payment's `razorpay` fields, as live (any values in test). Returns a ticketed booking with a PNR starting `TEST` |
| Manage | Read, cancel and change test bookings with the same calls and responses as live |
| Webhooks | Delivered as in live mode, with `"mode": "test"` |

> [!TIP]
>
> Test calls are never billed.

## Mock search on any key

Send `"mock": true` to [`/search`](https://docs.flyskye.ai/search) on any key, test or live, to get dummy offers. Useful for UI work without live fares.

```json theme={"system"}
{ "origin": "BLR", "destination": "DEL", "departDate": "2026-12-24", "adults": 1, "mock": true }
```

## Going live

Everything you build with a test key works unchanged with a live key. Create a live key in the
[partner console](https://dashboard.flyskye.ai) when it is open for your account, and swap it in.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.