# ChargeDesk API Documentation

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

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

## ChargeDesk actions

- POST `create-charge` Create Charge
- POST `create-customer` Create Customer
- POST `create-product` Create Product
- POST `create-subscription` Create Subscription
- POST `create-webhook` Create Webhook
- POST `email-charge` Email Charge
- GET `group-customers` Group Customers
- GET `list-agent-activity` List Agent Activity
- GET `list-charges` List Charges
- GET `list-customers` List Customers
- GET `list-products` List Products
- GET `list-subscription-cancellations` List Subscription Cancellations
- GET `list-subscriptions` List Subscriptions
- GET `list-webhook-notifications` List Webhook Notifications
- GET `preview-charge` Preview Charge
- GET `retrieve-charge` Retrieve Charge
- GET `retrieve-charge-items` Retrieve Charge Items
- GET `retrieve-customer` Retrieve Customer
- GET `retrieve-product` Retrieve Product
- GET `retrieve-subscription` Retrieve Subscription
- PUT `update-charge` Update Charge
- PUT `update-customer` Update Customer
- PUT `update-product` Update Product
- PUT `update-subscription` Update Subscription
