# Payfunnels API Documentation

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

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

## Payfunnels actions

- PUT `cancel-subscription` Cancel Subscription
- POST `create-custom-plan-payment-link` Create Custom Plan Payment Link
- POST `create-one-time-payment-link` Create One-Time Payment Link
- POST `create-pay-what-you-want-payment-link` Create Pay What You Want Payment Link
- POST `create-payment-plan-payment-link` Create Payment Plan Payment Link
- POST `create-recurring-payment-link` Create Recurring Payment Link
- POST `create-setup-fee` Create Setup Fee
- DELETE `delete-setup-fee` Delete Setup Fee
- GET `get-payment` Get Payment
- GET `get-payment-link` Get Payment Link
- GET `get-setup-fee` Get Setup Fee
- GET `get-subscription` Get Subscription
- GET `list-payment-links` List Payment Links
- GET `list-payments` List Payments
- GET `list-setup-fees` List Setup Fees
- GET `list-subscriptions` List Subscriptions
- PUT `pause-subscription` Pause Subscription
- PUT `refund-payment` Refund Payment
- PUT `resume-subscription` Resume Subscription
- PUT `update-setup-fee` Update Setup Fee
