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

# Stripe

> Connect a Stripe account to Enhanza with a restricted, read-only API key.

> [!NOTE]
>
> Before you begin, [create a workspace](https://app.enhanza.com/register) and complete the onboarding.

## Create a restricted key in Stripe

1. In Stripe, go to [`Developers` > `API keys`](https://dashboard.stripe.com/apikeys) and choose `Create restricted key`.
2. Give the key read access to: Charges, Customers, Invoices, Credit notes, Products, Prices, Subscriptions, Checkout Sessions, Quotes and Balance.
3. Create the key and copy it.

## Connect Stripe

1. In Enhanza, go to `Data Sources` > `Connect Data Source` and click `Connect` under Stripe.
2. Fill in the field:
   * *Restricted API key*: the key from Stripe, starting with `rk_live_`
3. Click `Connect Stripe`.
4. Complete the remaining wizard steps: `Starting point`, `Currency` and `Company Details`.

> [!TIP]
>
> The Stripe account appears under `Data Sources`.

## What Enhanza syncs

| Category | Data |
| - | - |
| Payments | Charges, refunds, balance transactions, checkout sessions, checkout session line items |
| Billing | Subscriptions, invoices, invoice lines, credit notes, credit note lines, quotes, quote line items |
| Customers and catalog | Customers, products, active and inactive prices |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.