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

# Introduction

> Sell TuniMobile recharge vouchers from your own application.

The TuniMobile integration API lets you sell recharge vouchers for **Tunisie Telecom**, **Orange** and **Ooredoo** from your own application. These are the same calls the TuniMobile Android app uses.

With it you can:

1. Log in with a shop account and keep the session alive.
2. Read the shop's profile and balance.
3. Register your device as a terminal.
4. Generate, print, confirm, reprint and duplicate vouchers.
5. List the voucher history.
6. Open and close sales sessions.
7. Log out.

## Environments

| Environment | Base URL |
| - | - |
| Production | `https://api.tunimobile.com/v1` |
| Test | `https://apitest.tunimobile.com/v1` |

Build and test your integration against the test environment first. Only HTTPS is supported.

> **[Quickstart](https://docs.tunimobile.com/quickstart.md)**
>
> The typical flow, from login to selling a voucher.

> **[Authentication](https://docs.tunimobile.com/basics/authentication.md)**
>
> JWT cookies, token refresh and handling `401` errors.

> **[Terminal API key](https://docs.tunimobile.com/basics/terminal-api-key.md)**
>
> Identify each device and see who can call what.

> **[Generate a voucher](https://docs.tunimobile.com/api/vouchers/generate.md)**
>
> Sell a voucher and print it.


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