# Stripe API Documentation

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

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

## Stripe actions

- PUT `cancel-payment-intent` Cancel Payment Intent
- DELETE `cancel-subscription` Cancel Subscription
- PUT `capture-payment-intent` Capture Payment Intent
- PUT `confirm-payment-intent` Confirm Payment Intent
- POST `create-billing-portal-session` Create Billing Portal Session
- POST `create-checkout-session` Create Checkout Session
- POST `create-customer` Create Customer
- POST `create-payment-intent` Create Payment Intent
- POST `create-preview-invoice` Create Preview Invoice
- POST `create-setup-checkout-session-stripe-to-aspire-sync` Create Setup Checkout Session – Stripe to Aspire Sync
- POST `create-subscription` Create Subscription
- POST `create-checkout-session-copy` Create Variable-Amount Checkout Session
- PUT `expire-checkout-session` Expire Checkout Session
- GET `get-balance-transactions` Get Balance Transactions
- GET `get-payment-intent` Get Payment Intent
- GET `get-payment-intent-sync` Get Payment Intent sync
- GET `get-product` Get Product
- GET `list-charges` List Charges
- GET `list-checkout-session-line-items` List Checkout Session Line Items
- GET `list-checkout-sessions` List Checkout Sessions
- GET `list-credit-notes` List Credit Notes
- GET `list-customer-payment-methods` List Customer Payment Methods
- GET `list-customers` List Customers
- GET `list-disputes` List Disputes
- GET `list-events` List Events
- GET `list-invoice-line-items` List Invoice Line Items
- GET `list-invoices` List Invoices
- GET `list-payment-intents` List Payment Intents
- GET `list-payouts` List Payouts
- GET `list-prices` List Prices
- GET `list-products` List Products
- GET `list-refunds` List Refunds
- GET `list-subscription-schedules` List Subscription Schedules
- GET `list-subscriptions` List Subscriptions
- GET `retrieve-balance` Retrieve Balance
- GET `retrieve-charge` Retrieve Charge
- GET `retrieve-checkout-session` Retrieve Checkout Session
- GET `retrieve-credit-note` Retrieve Credit Note
- GET `retrieve-customer` Retrieve Customer
- GET `retrieve-dispute` Retrieve Dispute
- GET `retrieve-event` Retrieve Event
- GET `retrieve-invoice` Retrieve Invoice
- GET `new-action1` Retrieve Payment Method
- GET `retrieve-payment-method-sync` Retrieve Payment Method sync
- GET `retrieve-price` Retrieve Price
- GET `retrieve-refund` Retrieve Refund
- GET `retrieve-setup-intent` Retrieve SetupIntent
- GET `retrieve-subscription` Retrieve Subscription
- GET `retrieve-subscription-schedule` Retrieve Subscription Schedule
- GET `search-customers` Search Customers
- GET `search-invoices` Search Invoices
- GET `search-payment-intents` Search Payment Intents
- GET `search-prices` Search Prices
- GET `search-products` Search Products
- PUT `update-customer` Update Customer
- PUT `update-subscription` Update Subscription
