# Trolley API Documentation

This is the complete API documentation for connecting to the Trolley API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Trolley connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/trolley/actions/{actionSlug}/run
```

## Trolley actions

- POST `create-invoice` Create Invoice
- POST `create-invoice-lines` Create Invoice Lines
- POST `create-recipient` Create Recipient
- POST `create-recipient-account` Create Recipient Account
- POST `create-recipient-offline-payment` Create Recipient Offline Payment
- DELETE `delete-invoice` Delete Invoice
- DELETE `delete-invoice-lines` Delete Invoice Lines
- DELETE `delete-recipient` Delete Recipient
- DELETE `delete-recipient-account` Delete Recipient Account
- DELETE `delete-recipient-offline-payment` Delete Recipient Offline Payment
- GET `get-country` Get Country
- GET `get-invoice` Get Invoice
- GET `get-recipient` Get Recipient
- GET `get-recipient-account` Get Recipient Account
- GET `get-recipient-verifications` Get Recipient Verifications
- GET `list-balances` List Balances
- GET `list-batches` List Batches
- GET `list-offline-payments` List Offline Payments
- GET `list-pay-pal-account-balances` List PayPal Account Balances
- GET `list-recipient-accounts` List Recipient Accounts
- GET `list-recipient-logs` List Recipient Logs
- GET `list-recipient-offline-payments` List Recipient Offline Payments
- GET `list-recipient-payments` List Recipient Payments
- GET `list-recipients` List Recipients
- GET `list-trolley-account-balances` List Trolley Account Balances
- GET `list-verifications` List Verifications
- GET `search-invoice-payments` Search Invoice Payments
- GET `search-invoices` Search Invoices
- GET `search-recipients` Search Recipients
- PUT `update-invoice` Update Invoice
- PUT `update-invoice-lines` Update Invoice Lines
- PUT `update-recipient` Update Recipient
