> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boostgpt.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe Payments

> Payments, customers, subscriptions and refunds, with an API key. The Stripe server above signs in instead.

Payments, customers, subscriptions and refunds, with an API key. The Stripe server above signs in instead.

## Connecting

In the dashboard, open **Connectors**, find Stripe Payments and press **Connect**. The key you enter is checked against Stripe Payments before anything is saved, so a key that is refused never becomes a connection that fails later.

### What you will need

| Field      | What it is                                                    |
| ---------- | ------------------------------------------------------------- |
| Secret Key | Your Stripe secret key (starts with sk\_test\_ or sk\_live\_) |

### Getting the credential

1. Create a [Stripe account](https://dashboard.stripe.com/register)
2. Go to **Developers** → **API Keys**
3. Copy your **Secret key** (starts with `sk_test_` for testing or `sk_live_` for production)
4. For webhooks, also note your **Publishable key** and **Webhook signing secret**

## What an agent can do with it

| Tool                     | What it does                |
| ------------------------ | --------------------------- |
| `create_payment_intent`  | Create a new payment intent |
| `get_payment_intent`     | Retrieve a payment intent   |
| `confirm_payment_intent` | Confirm a payment intent    |
| `cancel_payment_intent`  | Cancel a payment intent     |
| `create_customer`        | Create a new customer       |
| `get_customer`           | Retrieve a customer         |
| `update_customer`        | Update a customer           |
| `list_customers`         | List all customers          |
| `create_subscription`    | Create a new subscription   |
| `get_subscription`       | Retrieve a subscription     |
| `update_subscription`    | Update a subscription       |
| `cancel_subscription`    | Cancel a subscription       |
| `list_subscriptions`     | List subscriptions          |
| `create_product`         | Create a new product        |
| `list_products`          | List products               |
| `create_price`           | Create a new price          |
| `list_prices`            | List prices                 |
| `list_invoices`          | List invoices               |
| `get_balance`            | Get account balance         |

## Useful resources

* [Stripe Payments documentation](https://docs.stripe.com/api/authentication)
