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

# Stripe Billing

> Learn how to connect Stripe Billing to Slicker

### Prerequisites

Slicker can connect through the Stripe Marketplace App or a restricted API key. Creating a restricted key requires a Stripe user with sufficient permissions, such as an `Administrator`, `Super Administrator`, or `Developer`.

### Option 1: Integrate through the Stripe Marketplace

1. Go to the [Slicker App page in the Stripe Marketplace](https://marketplace.stripe.com/apps/slicker).
2. Click on the `Install` button.
3. Follow the instructions to authorize Slicker to access your Stripe account.
4. Once authorized, open Slicker in the Stripe Dashboard and click `Link existing account` to create a Slicker integration for this Stripe account.

> [!NOTE]
>
> Have more than one Stripe billing account? Repeat these steps while viewing each Stripe account and link every account to the same Slicker organization. Slicker creates one integration per Stripe account, so give each integration a recognizable name and business entity.

Once linked, Slicker shows up inside the Stripe Dashboard:

* Open any invoice, customer or payment and expand the Slicker app to see the recovery state, each retry and its outcome, the next scheduled retry, reminder emails with opens and clicks, the dunning episode and the grace-period status for that object.
* Open the Slicker page from the app drawer for a recovery overview, the queue of invoices Slicker is still working on, and the list of Stripe accounts linked to your organization.

The Marketplace App requests only the permissions used by Slicker's current features:

* **Billing reads:** Customers, Subscriptions, Invoices, and Prices.
* **Payment reads:** Payment Intents, Payment Methods, Setup Intents, Mandates, Charges and Refunds, and Disputes.
* **Recovery writes:** Invoices, to retry failed invoices and mark them uncollectible; Subscriptions, to cancel them when a configured grace period ends; and Charges and Refunds, to label Slicker-created retries for auditability.
* **Analytics reads:** Balance, Balance Transaction Sources, and Financial Reports, for payment-processing fee analytics.
* **Events:** Events read access, for supported real-time event delivery.

> [!WARNING]
>
> Stripe asks existing users to reauthorize an app release when its permission set changes. If Stripe shows an upgrade prompt for Slicker, review and accept it before enabling features that depend on the new permissions.

### Option 2: Create restricted API-key credentials

1. Go to the Stripe dashboard to create a new restricted API key [here](https://dashboard.stripe.com/apikeys/create).

2. Give the key a name like `Slicker`.

3. Select these permissions for full Slicker functionality:

   * `Read` for Customers, Payment Intents, Payment Methods, Setup Intents, Mandates, Charges and Refunds, Disputes, Events, Balance, and Balance Transaction Sources.

   ![Stripe read permissions on core resources](https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/stripe_core_read_perms.png?fit=max\&auto=format\&n=HZZPLdXP1aKdz94r\&q=85\&s=6ea62335849cb5260bbc7fa1519b90ad)

   * `Read` for Financial Reports.

   ![Stripe read permissions on reporting resources](https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/stripe_reporting_read_perms.png?fit=max\&auto=format\&n=HZZPLdXP1aKdz94r\&q=85\&s=414c408522c603856494625a610086f8)

   * `Read` for Subscriptions, Invoices, and Prices, with `Write` on Invoices.
     \[!WARNING] The `Write` permission on `Invoices` is required for Slicker to retry failed transactions and recover revenue.

   ![Stripe billing permissions](https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/stripe_billing_perms.png?fit=max\&auto=format\&n=HZZPLdXP1aKdz94r\&q=85\&s=edea9862b6a7964787350717499892d3)

   * `Write` on Subscriptions if Slicker's [Grace Period Manager](https://docs.slickerhq.com/essentials/grace_periods.md) should cancel subscriptions when their grace period ends. Marking invoices uncollectible is covered by `Write` on Invoices.

   * `Write` on Charges and Refunds if you want Slicker to label the charge created by each retry. This makes recovery attribution auditable and does not let Slicker change the card or invoice amount.

> [!NOTE]
>
> Slicker does not use Connect administration resources, so a least-privilege key does not need blanket `Read` access to all Connect resources.

4. Click the `Create key` button. If prompted confirm your password. Copy the generated key - we will need it later.

### Option 2: Create the integration in Slicker

1. Go to the Slicker's [new integration page](https://app.slickerhq.com/integrations/new).
2. Select `Stripe` from the list of integrations.
3. Give the integration a name and description to help you identify it later.
4. Enter the API key you copied earlier.
5. Make sure to select this integration is for Stripe Billing. Otherwise, Slicker will only sync payment data, without managing failed billing attempts.

![Stripe Billing enabled in Slicker integration](https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/stripe_billing_enabled.png?fit=max\&auto=format\&n=HZZPLdXP1aKdz94r\&q=85\&s=117d072a9896009de77eac0bc22d8315)

6. Click the `Submit` button to create the integration.

### (Optional) Enable real-time webhooks

By default Slicker keeps your data in sync by polling the Stripe API on a schedule. Adding a webhook lets Stripe push changes to Slicker the moment they happen, for near real-time recovery tracking. For Stripe Billing this is especially valuable: Stripe's API has no "updated since" filter for invoices and subscriptions, so webhooks are the most reliable way to capture later status changes — a payment that finally succeeds, an invoice that's voided, a subscription that cancels — as soon as they occur.

> [!NOTE]
>
> Webhooks are configured **per Stripe account**, in that account's own Stripe Dashboard. They're optional and can be added at any time after the integration is created.

1. Open your existing Slicker integration and find **Webhooks**. Copy the **Webhook URL** and keep the page open until you save the signing secret. For a new integration, first select **Enable Webhooks** in its creation form.

2. In the matching account's [Stripe Dashboard](https://dashboard.stripe.com/webhooks), open **Workbench → Webhooks** and add a destination for **your account's events**. Use a separate destination and signing secret for each Slicker integration, including when you use an organization API key.

3. Paste the Slicker Webhook URL into the **Endpoint URL** field. Choose **snapshot events** and the newest API version the dashboard offers (a **clover** or **dahlia** version). Thin events are not supported by this setup.

4. Under **Select events**, select these **20 individual event types**. Avoid **All events** and wildcard event families:

   * **Invoices** — `invoice.finalized`, `invoice.updated`, `invoice.paid`, `invoice.payment_failed`, `invoice.payment_action_required`, `invoice.marked_uncollectible`, `invoice.voided`
   * **Subscriptions** — `customer.subscription.created`, `customer.subscription.updated`, `customer.subscription.deleted`, `customer.subscription.paused`, `customer.subscription.resumed`
   * **Payments** — `payment_intent.succeeded`, `payment_intent.payment_failed`, `payment_intent.processing`, `payment_intent.requires_action`, `payment_intent.canceled`
   * **Customers** — `customer.created`, `customer.updated`, `customer.deleted`

   If you use **manual capture**, also select `payment_intent.amount_capturable_updated` to receive authorization updates before capture. This makes 21 event types. Keep `invoice.updated` for changes such as retry scheduling. `invoice.paid` already covers successful collection and invoices marked paid outside Stripe, so `invoice.payment_succeeded` is unnecessary.

5. Save the destination.

6. Open the endpoint you just created, reveal its **Signing secret** (it starts with `whsec_`), and copy it.

7. Back in Slicker, paste the signing secret into **Signing Secret** and select **Enable webhooks** (or submit the new integration). To rotate a secret later, use **Update secret**; keep the existing URL.

8. Confirm successful deliveries in Stripe's **Event deliveries** tab and check the corresponding records in Slicker. Slicker acknowledges every Stripe delivery, including ones it cannot verify yet, so that a setup problem never interferes with your billing; events that arrived before you saved the secret therefore show as delivered in Stripe but were not processed. Resend them from the **Event deliveries** tab after saving, or disable the destination in Stripe between steps 5 and 7 to avoid the gap. The **Configured** badge confirms saved settings; it does not confirm delivery. Updates can take roughly 30 seconds of batching plus processing time.

Keep scheduled syncing enabled. These events update customers, subscriptions, invoices, and PaymentIntents; Charge attempts, refunds, and disputes still use their existing sync paths. Adding an endpoint does not backfill old changes, and draft-invoice deletion is not handled by this event list.

> [!WARNING]
>
> Copy the **signing secret** (`whsec_…`) — not your API key (`sk_`/`rk_`) or the endpoint ID. If you ever rotate the secret in Stripe, update it in Slicker too.

### (Optional) Let Slicker manage the grace period

Slicker's [Grace Period Manager](https://docs.slickerhq.com/essentials/grace_periods.md) keeps recovering failed payments on your own schedule and decides what happens when that window ends. There are two things to set up: turn the grace period settings on in Slicker, and stop Stripe from ending the subscription itself.

> [!NOTE]
>
> The order does not matter. Slicker measures each grace period from the invoice's first failed payment, not from when you turn the feature on, so if you switch Stripe to leave invoices overdue first, they simply wait until Slicker takes over. Its next run then closes anything already past its grace period, so the backlog is handled either way.

#### Turn on grace period management in Slicker

In your Slicker integration settings, enable the grace period manager, then set the grace period length and the actions to apply when it expires.

![Slicker grace period manager settings for Stripe](https://mintcdn.com/slicker/OuMKIpTBgdM_1_V9/images/grace-period-settings.png?fit=max\&auto=format\&n=OuMKIpTBgdM_1_V9\&q=85\&s=74b67662ec1c062c1ac7e05dfb464ba6)

> [!NOTE]
>
> If you do not see these settings, [let us know](https://www.slickerhq.com/contact) and we will enable the feature for your account.

#### Turn off Stripe's automatic cancellation

Stop Stripe from ending the subscription itself, so Slicker owns the recovery window. Otherwise Stripe cancels or writes off the invoice once its own retries run out, before your grace period is up.

1. Open your Stripe [retries and recovery settings](https://dashboard.stripe.com/revenue-recovery/retries).
2. Set every failed-payment outcome to leave the invoice overdue. Do not cancel the subscription, mark it unpaid, or mark the invoice uncollectible.

![Stripe retries settings with all failed-payment outcomes left as overdue](https://mintcdn.com/slicker/OuMKIpTBgdM_1_V9/images/stripe-billing-cancel-off-settings.png?fit=max\&auto=format\&n=OuMKIpTBgdM_1_V9\&q=85\&s=561fa92ac8e221f84fc0b011d4c68b4d)

With Slicker managing the grace period and Stripe set to leave invoices overdue, Slicker applies the end-of-grace action you choose. Cancelling subscriptions also needs the optional `Write` on `Subscriptions` permission described above.

> [!NOTE]
>
> Connected through the Stripe App? The app cannot cancel subscriptions. Create a restricted key with the permissions above, including `Write` on `Subscriptions`, and add it under **API key** on your Stripe integration's page in Slicker. Slicker then uses that key for this account instead of the app.

### Troubleshooting

On integration creation, Slicker will attempt to connect to Stripe using the provided API key.
If the connection fails, you will see an error message like the one below.
Please double-check the API key, make sure it has the correct permissions, and try again.

![Failed integration creation message](https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/integration-failure.png?fit=max\&auto=format\&n=HZZPLdXP1aKdz94r\&q=85\&s=59f6f532473345be5919699e5de59427)


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