# Cheddar API Documentation

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

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

## Cheddar actions

- POST `add-custom-charge-or-credit` Add Custom Charge or Credit
- PUT `add-item-quantity` Add Item Quantity
- PUT `cancel-subscription` Cancel Subscription
- POST `create-customer` Create Customer
- POST `create-one-time-invoice` Create One-Time Invoice
- DELETE `delete-custom-charge-or-credit` Delete Custom Charge or Credit
- DELETE `delete-customer` Delete Customer
- GET `get-customer` Get Customer
- GET `get-pricing-plan` Get Pricing Plan
- GET `get-promotion` Get Promotion
- POST `import-customers` Import Customers
- POST `issue-refund` Issue Refund
- PUT `issue-void` Issue Void
- PUT `issue-void-or-refund` Issue Void or Refund
- GET `list-customers` List Customers
- GET `list-pricing-plans` List Pricing Plans
- GET `list-promotions` List Promotions
- PUT `remove-item-quantity` Remove Item Quantity
- PUT `run-outstanding-invoice` Run Outstanding Invoice
- PUT `send-or-resend-invoice-email` Send or Resend Invoice Email
- PUT `set-item-quantity` Set Item Quantity
- PUT `update-customer` Update Customer
- PUT `update-customer-and-subscription` Update Customer and Subscription
- PUT `update-subscription` Update Subscription
