# Reepay API Documentation

This is the complete API documentation for connecting to the Reepay 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 **Reepay connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## Reepay actions

- POST `add-offline-payment-method` Add Offline Payment Method
- POST `add-payment-method` Add Payment Method
- PUT `cancel-charge` Cancel Charge
- PUT `cancel-invoice` Cancel Invoice
- PUT `cancel-invoice-transaction` Cancel Invoice Transaction
- PUT `cancel-subscription` Cancel Subscription
- POST `create-charge` Create Charge
- POST `create-customer` Create Customer
- POST `create-offline-agreement` Create Offline Agreement
- POST `create-plan` Create Plan
- POST `create-subscription` Create Subscription
- DELETE `delete-customer` Delete Customer
- DELETE `delete-gateway-agreement` Delete Gateway Agreement
- DELETE `delete-payment-method` Delete Payment Method
- DELETE `delete-pending-subscription` Delete Pending Subscription
- DELETE `delete-plan` Delete Plan
- GET `get-charge` Get Charge
- GET `get-current-plan` Get Current Plan
- GET `get-customer` Get Customer
- GET `get-gateway-agreement` Get Gateway Agreement
- GET `get-invoice` Get Invoice
- GET `get-payment-method` Get Payment Method
- GET `get-subscription` Get Subscription
- GET `list-charges` List Charges
- GET `list-customers` List Customers
- GET `list-invoices` List Invoices
- GET `list-payment-methods` List Payment Methods
- GET `list-plans` List Plans
- GET `list-subscriptions` List Subscriptions
- PUT `update-customer` Update Customer
- PUT `update-plan` Update Plan
- PUT `update-subscription` Update Subscription
