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

# Stripe

> Payments platform — customers, subscriptions, invoices, products, prices, disputes, and refunds

## Overview

Stripe is a payments platform for managing customers, products, pricing, subscriptions, invoices, and disputes. Connect it to Civic to let your AI agent handle the full billing lifecycle.

<Card title="Add to Civic" icon="plus" href="https://app.civic.com">
  Connect Stripe at app.civic.com
</Card>

## Available Tools (23)

| Tool                          | Description                                                                                                     |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `cancel_subscription`         | Cancel a subscription in Stripe                                                                                 |
| `create_coupon`               | Create a coupon (percent or amount off, one-time or recurring)                                                  |
| `create_customer`             | Create a customer in Stripe                                                                                     |
| `create_invoice`              | Create an invoice in Stripe                                                                                     |
| `create_invoice_item`         | Create an invoice item attached to an invoice                                                                   |
| `create_payment_link`         | Create a payment link for a price                                                                               |
| `create_price`                | Create a price for a product                                                                                    |
| `create_product`              | Create a product in Stripe                                                                                      |
| `create_refund`               | Refund a payment intent (full or partial)                                                                       |
| `fetch_stripe_resources`      | Retrieve a Stripe object by ID (payment intents, charges, invoices, prices, products, subscriptions, customers) |
| `finalize_invoice`            | Finalize an invoice so it is ready for payment                                                                  |
| `get_stripe_account_info`     | Get account info for the connected Stripe account                                                               |
| `list_coupons`                | Fetch a list of coupons                                                                                         |
| `list_customers`              | Fetch a list of customers, optionally filtered by email                                                         |
| `list_disputes`               | Fetch a list of disputes, optionally filtered by charge or payment intent                                       |
| `list_invoices`               | Fetch a list of invoices, optionally filtered by customer                                                       |
| `list_payment_intents`        | List payment intents, optionally filtered by customer                                                           |
| `list_prices`                 | Fetch a list of prices, optionally filtered by product                                                          |
| `list_products`               | Fetch a list of products                                                                                        |
| `list_subscriptions`          | List subscriptions filtered by customer, price, or status                                                       |
| `retrieve_balance`            | Retrieve the current Stripe account balance                                                                     |
| `search_stripe_documentation` | Search the Stripe documentation                                                                                 |
| `search_stripe_resources`     | Search customers, payment intents, charges, invoices, prices, products, or subscriptions by query               |
| `update_dispute`              | Update a dispute with evidence to help resolve it                                                               |
| `update_subscription`         | Update an existing subscription's items or proration behavior                                                   |

***

## Guardrails

In addition to the [14 universal guardrails](/civic/concepts/guardrails), this server has **24 server-specific guardrails** across 10 operations.

<Note>
  Deeply admin-gated — nearly every write operation has a non-admin block, plus financial controls (price/refund/coupon limits) and customer data redaction.
</Note>

| Guardrail                               | Operation                 | Timing   | Description                                           |
| --------------------------------------- | ------------------------- | -------- | ----------------------------------------------------- |
| Block Cancel Subscription for Non-Admin | `cancel_subscription`     | Request  | Prevents non-admins from cancelling subscriptions     |
| Block Create Coupon for Non-Admin       | `create_coupon`           | Request  | Prevents non-admins from creating coupons             |
| Maximum Coupon Amount                   | `create_coupon`           | Request  | Caps max discount amount on coupons                   |
| Maximum Coupon Percentage               | `create_coupon`           | Request  | Caps max percentage discount on coupons               |
| Approved Customer Email Domains         | `create_customer`         | Request  | Restricts customer creation to approved email domains |
| Block Create Invoice for Non-Admin      | `create_invoice`          | Request  | Prevents non-admins from creating invoices            |
| Block Create Invoice Item for Non-Admin | `create_invoice_item`     | Request  | Prevents non-admins from creating invoice items       |
| Block Create Payment Link for Non-Admin | `create_payment_link`     | Request  | Prevents non-admins from creating payment links       |
| Payment Link Quantity Limit             | `create_payment_link`     | Request  | Limits max quantity on payment links                  |
| Block Create Price for Non-Admin        | `create_price`            | Request  | Prevents non-admins from creating prices              |
| Maximum Price Amount                    | `create_price`            | Request  | Caps max unit amount for prices                       |
| Minimum Price Amount                    | `create_price`            | Request  | Enforces minimum unit amount for prices               |
| Block Create Product for Non-Admin      | `create_product`          | Request  | Prevents non-admins from creating products            |
| Product Name Pattern                    | `create_product`          | Request  | Restricts product names to approved naming patterns   |
| Block Refunds for Non-Admin             | `create_refund`           | Request  | Prevents non-admins from issuing refunds              |
| Maximum Refund Amount                   | `create_refund`           | Request  | Caps max refund amount                                |
| Block Finalize Invoice for Non-Admin    | `finalize_invoice`        | Request  | Prevents non-admins from finalizing invoices          |
| Customer List Limit                     | `list_customers`          | Request  | Limits number of customers returned in queries        |
| Redact Customer Sensitive Data          | `list_customers`          | Response | Redacts customer email data from responses            |
| Filter Payment Intent Status            | `list_payment_intents`    | Response | Filters to only show approved payment statuses        |
| Block Sensitive Search Terms            | `search_stripe_resources` | Request  | Blocks searches for sensitive info patterns           |
| Safe Search Patterns                    | `search_stripe_resources` | Request  | Restricts searches to approved safe patterns          |
| Block Update Subscription for Non-Admin | `update_subscription`     | Request  | Prevents non-admins from updating subscriptions       |

<Tip>
  Configure guardrails via the Civic UI or ask the Configurator Agent: "Add guardrails to my Stripe server."
</Tip>
