# GoCardless API Documentation

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

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

## GoCardless actions

- PUT `cancel-billing-request` Cancel Billing Request
- PUT `cancel-mandate` Cancel Mandate
- PUT `cancel-payment` Cancel Payment
- PUT `collect-billing-request-customer-details` Collect Billing Request Customer Details
- POST `create-billing-request` Create Billing Request
- POST `create-billing-request-flow` Create Billing Request Flow
- POST `create-customer` Create Customer
- POST `create-customer-bank-account` Create Customer Bank Account
- POST `create-mandate` Create Mandate
- POST `create-payment` Create Payment
- POST `create-subscription` Create Subscription
- GET `get-billing-request` Get Billing Request
- GET `get-customer` Get Customer
- GET `get-event` Get Event
- GET `get-mandate` Get Mandate
- GET `get-payment` Get Payment
- PUT `initialise-billing-request-flow` Initialise Billing Request Flow
- GET `list-billing-requests` List Billing Requests
- GET `list-creditors` List Creditors
- GET `list-customer-bank-accounts` List Customer Bank Accounts
- GET `list-customers` List Customers
- GET `list-events` List Events
- GET `list-mandates` List Mandates
- GET `list-payments` List Payments
- GET `list-refunds` List Refunds
- GET `list-subscriptions` List Subscriptions
- PUT `retry-payment` Retry Payment
