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

# Partners

> Businesses that sell tickets through the partner API and pay SmartPay what they sell.

> [!NOTE]
>
> **Where:** Finance › **Partners**. **Who:** Super Admins.

A partner, for example a travel agency, sells trip and route tickets through the partner API with its own key. It collects payment its own way, and owes SmartPay the full fare of every ticket it sells until it pays. Sales stop once what it owes would pass its **credit limit**.

![Partners list with Add partner marked 1](https://mintcdn.com/smart-transit/dhnMcqyTt_jbHCqG/images/web/partners/list.png?fit=max\&auto=format\&n=dhnMcqyTt_jbHCqG\&q=85\&s=7f003e0e80453004560c25bb5469025e)

Partners

At the top: **Sold by partners**, **Owed to SmartPay** and the number of **Tickets**. The list shows each partner with what it has sold, what it owes, its last sale and its status.

## Adding a partner

**1. Select Add partner (1)**

![Add partner form](https://mintcdn.com/smart-transit/dhnMcqyTt_jbHCqG/images/web/partners/create.png?fit=max\&auto=format\&n=dhnMcqyTt_jbHCqG\&q=85\&s=c73cb3cce27e6f244c4ed5b03b87fb99)

Add partner

**2. Fill in the form**

| Field | Notes |
| - | - |
| Business name | |
| Contact person, Phone, E-mail | Optional |
| Credit limit (Le) | Sales stop past this amount owed |

**3. Select Add partner**

The partner's API key is shown once. Copy it and give it to the partner securely; it can't be shown again.

## A partner's page

Select a partner to open its page.

![Partner page with Record payment marked 1 and New key 2](https://mintcdn.com/smart-transit/dhnMcqyTt_jbHCqG/images/web/partners/detail.png?fit=max\&auto=format\&n=dhnMcqyTt_jbHCqG\&q=85\&s=1ab28e5ba88c570376aab1dda92e311d)

A partner's page

| Section | Contents |
| - | - |
| **Owes now** | What the partner owes, against its limit, and how much it can still sell |
| **Sold, all time** | Value and number of tickets sold |
| **Paid, all time** | Payments received, and the last one |
| **Trip / Route** | Trip tickets and route tickets sold, by number and value |
| **Used** | How much of the credit limit is in use, the average sale and the last sale |
| **Sales, last 30 days** and **Top routes** | Where and when it sells |

Below these are every ticket the partner sold and every payment received.

## Recording a payment

When the partner pays SmartPay:

**1. Select Record payment (1)**

![Record payment form with amount and reference](https://mintcdn.com/smart-transit/dhnMcqyTt_jbHCqG/images/web/partners/record-payment.png?fit=max\&auto=format\&n=dhnMcqyTt_jbHCqG\&q=85\&s=63e17394669c3f75eb3b79820ccd6f63)

Record payment

**2. Enter the Amount received (Le) and an optional Reference, then select Record**

What the partner owes goes down by the amount, and it can sell again up to its limit.

## Other actions

| Button | What it does |
| - | - |
| **Edit** | Changes the details or credit limit |
| **New key (2)** | Issues a new API key. The old key stops working at once. |
| **Pause** | Stops the partner selling, without removing it. **Resume** lets it sell again. |
| **Delete** | Removes the partner |

> [!NOTE]
>
> Developers integrating a partner use the partner API collection in `docs/partner-api` of the Smart Transit repository.


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