# Stripe integration

> Payment processing API for managing customers, charges, subscriptions, invoices, and payouts.

- Authentication: apiKey

## Tools (75)

- **Attach Payment Method to Customer**: Attach a payment method to a customer for future payments.
- **Cancel Payment Intent**: Cancel a payment intent that has not yet been confirmed or captured.
- **Cancel Refund**: Cancel a refund that has not yet been processed (status: requires_action).
- **Cancel Subscription**: Immediately cancel a subscription, optionally generating a final invoice and providing cancellation details.
- **Capture Charge**: Capture a previously uncaptured charge, with optional partial capture amount.
- **Capture Payment Intent**: Capture funds from a payment intent that was created with capture_method=manual.
- **Close Dispute**: Close a dispute, accepting the dispute and the associated charge being reversed.
- **Confirm Payment Intent**: Confirm a payment intent to begin the payment process, optionally specifying a payment method.
- **Create Coupon**: Create a new coupon with a percentage or fixed-amount discount and a specified duration.
- **Create Customer**: Create a new customer with optional email, name, address, and payment method.
- **Create Invoice**: Create a new draft invoice for a customer, with optional subscription, collection method, and due date.
- **Create Invoice Item**: Create a line item to be added to a draft invoice, or queued for the customer's next invoice.
- **Create Payment Intent**: Create a new payment intent to represent a payment flow, specifying amount, currency, and optional payment method.
- **Create Payout**: Create a payout to send funds from the Stripe account to a bank account or debit card.
- **Create Price**: Create a new price for a product, with support for one-time or recurring billing.
- **Create Product**: Create a new product with a name and optional description, images, and default price data.
- **Create Refund**: Create a refund for a charge or payment intent, with optional partial amount and reason.
- **Create Subscription**: Create a new subscription for a customer with specified price items and billing options.
- **Delete Coupon**: Delete a coupon. Existing customers with the coupon applied retain the discount.
- **Delete Customer**: Permanently delete a customer and cancel any active subscriptions.
- **Delete Draft Invoice**: Permanently delete a draft invoice. Only invoices in draft status can be deleted.
- **Delete Invoice Item**: Delete an invoice item. Only items not yet attached to an invoice or on draft invoices can be deleted.
- **Delete Product**: Delete a product. Products with active prices cannot be deleted.
- **Detach Payment Method from Customer**: Detach a payment method from its associated customer.
- **Finalize Invoice**: Finalize a draft invoice to transition it to open status, ready for payment.
- **List Balance Transactions**: Retrieve a paginated list of balance transactions (charges, refunds, payouts, etc.).
- **List Charges**: Retrieve a paginated list of charges, with optional filters by customer, payment intent, or creation date.
- **List Coupons**: Retrieve a paginated list of coupons, with optional filters by creation date.
- **List Customers**: Retrieve a paginated list of customers, with optional filters by email, creation date, or test clock.
- **List Disputes**: Retrieve a paginated list of disputes, with optional filters by charge, payment intent, or creation date.
- **List Invoice Items**: Retrieve a paginated list of invoice items, with optional filters by customer, invoice, or pending status.
- **List Invoices**: Retrieve a paginated list of invoices, with optional filters by customer, subscription, or status.
- **List Payment Intents**: Retrieve a paginated list of payment intents, with optional filters by customer or creation date.
- **List Payment Methods**: Retrieve a paginated list of payment methods, optionally filtered by customer or type.
- **List Payouts**: Retrieve a paginated list of payouts, with optional filters by status or creation date.
- **List Prices**: Retrieve a paginated list of prices, with optional filters by product, active status, type, or currency.
- **List Products**: Retrieve a paginated list of products, with optional filters by active status or creation date.
- **List Refunds**: Retrieve a paginated list of refunds, with optional filters by charge, payment intent, or creation date.
- **List Subscriptions**: Retrieve a paginated list of subscriptions, with optional filters by customer, price, or status.
- **Mark Invoice Uncollectible**: Mark a finalized invoice as uncollectible, writing it off as bad debt.
- **Pay Invoice**: Pay an open invoice using the customer's default payment method or a specified one.
- **Resume Subscription**: Resume a paused subscription to reactivate billing.
- **Retrieve Balance**: Retrieve the current account balance, showing available and pending amounts by currency.
- **Retrieve Balance Transaction**: Retrieve details of a specific balance transaction by its ID.
- **Retrieve Charge**: Retrieve details of an existing charge by its ID.
- **Retrieve Coupon**: Retrieve details of an existing coupon by its ID.
- **Retrieve Customer**: Retrieve details of an existing customer by their ID.
- **Retrieve Dispute**: Retrieve details of an existing dispute by its ID.
- **Retrieve Invoice**: Retrieve details of an existing invoice by its ID.
- **Retrieve Invoice Item**: Retrieve details of an existing invoice item by its ID.
- **Retrieve Payment Intent**: Retrieve details of an existing payment intent by its ID.
- **Retrieve Payment Method**: Retrieve details of an existing payment method by its ID.
- **Retrieve Payout**: Retrieve details of an existing payout by its ID.
- **Retrieve Price**: Retrieve details of an existing price by its ID.
- **Retrieve Product**: Retrieve details of an existing product by its ID.
- **Retrieve Refund**: Retrieve details of an existing refund by its ID.
- **Retrieve Subscription**: Retrieve details of an existing subscription by its ID.
- **Search Charges**: Search for charges using Stripe's search query syntax (e.g., by amount, status, metadata, or card details).
- **Search Customers**: Search for customers using Stripe's search query syntax (e.g., by email, name, or metadata).
- **Search Invoices**: Search for invoices using Stripe's search query syntax (e.g., by status, customer, total, or metadata).
- **Search Payment Intents**: Search for payment intents using Stripe's search query syntax (e.g., by status, amount, customer, or metadata).
- **Search Subscriptions**: Search for subscriptions using Stripe's search query syntax (e.g., by status, customer, or metadata).
- **Send Invoice**: Send a finalized invoice to the customer via email.
- **Update Charge**: Update an existing charge's description or metadata.
- **Update Coupon**: Update an existing coupon's display name or metadata.
- **Update Customer**: Update an existing customer's properties such as email, name, or metadata.
- **Update Dispute**: Update a dispute by submitting evidence or metadata, optionally submitting evidence for review.
- **Update Invoice**: Update an existing invoice's description, metadata, or other properties.
- **Update Invoice Item**: Update an existing invoice item's amount, description, quantity, or metadata.
- **Update Payment Intent**: Update an existing payment intent's amount, description, metadata, or other properties.
- **Update Price**: Update an existing price's active status, nickname, or metadata.
- **Update Product**: Update an existing product's name, description, active status, or metadata.
- **Update Refund**: Update an existing refund's metadata.
- **Update Subscription**: Update an existing subscription's items, payment method, metadata, or cancellation behavior.
- **Void Invoice**: Void a finalized invoice, marking it as uncollectable without deleting it.

## Triggers (16)

- **New Charge in Stripe**: Triggers when a new charge is created in Stripe
- **New Customer in Stripe**: Triggers when a new customer is created in Stripe
- **New Subscription in Stripe**: Triggers when a new subscription is created in Stripe
- **New Invoice in Stripe**: Triggers when an invoice is created in Stripe
- **New Refund in Stripe**: Triggers when a refund is issued in Stripe
- **New Dispute in Stripe**: Triggers when a new dispute is opened
- **New Invoice Item in Stripe**: Triggers when a new invoice item is added
- **New Payment Link in Stripe**: Triggers when a payment link is created
- **New Product in Stripe**: Triggers when a product is created in Stripe
- **Updated Subscription in Stripe**: Triggers when a subscription changes (status, items, cancellation, etc.)
- **Canceled Subscription in Stripe**: Triggers when a subscription is canceled (deleted)
- **Failed Payment in Stripe**: Triggers when a charge attempt fails
- **Updated Dispute in Stripe**: Triggers when dispute information changes (typically evidence submission or status transition)
- **Checkout Session Completed in Stripe**: Triggers when a Stripe Checkout session completes
- **Invoice Payment Succeeded in Stripe**: Triggers when an invoice is successfully paid
- **Invoice Payment Failed in Stripe**: Triggers when an invoice payment attempt fails

## Related prompts

- [Recover failed Stripe payments with friendly Gladly care](https://www.generalinput.com/prompts/recover-failed-stripe-payments-with-friendly-gladly-care.md)
- [Sync Stripe subscription status to your Firebase users](https://www.generalinput.com/prompts/sync-stripe-subscription-status-to-your-firebase-users.md)
- [Audit failed Stripe payments in DynamoDB with a Slack triage note](https://www.generalinput.com/prompts/audit-failed-stripe-payments-in-dynamodb-with-a-slack-triage-note.md)
- [Log Stripe subscription cancellations to Amplitude and a churn sheet](https://www.generalinput.com/prompts/log-stripe-subscription-cancellations-to-amplitude-and-a-churn-sheet.md)
- [Send branded Stripe payment receipts with Amazon SES](https://www.generalinput.com/prompts/send-branded-stripe-payment-receipts-with-amazon-ses.md)
- [Welcome new Stripe customers in MailForge and Slack](https://www.generalinput.com/prompts/welcome-new-stripe-customers-in-mailforge-and-slack.md)
- [Text customers via ClickSend when Stripe payments fail](https://www.generalinput.com/prompts/text-customers-via-clicksend-when-stripe-payments-fail.md)
- [Onboard new Stripe paid customers into beehiiv with a Slack welcome draft](https://www.generalinput.com/prompts/onboard-new-stripe-paid-customers-into-beehiiv-with-a-slack-welcome-draft.md)
- [Call customers with Bland AI when a Stripe payment fails](https://www.generalinput.com/prompts/call-customers-with-bland-ai-when-a-stripe-payment-fails.md)
- [Screen new Stripe customers for sanctions and PEP hits at signup](https://www.generalinput.com/prompts/screen-new-stripe-customers-for-sanctions-and-pep-hits-at-signup.md)
- [Open General Input CRM recovery tasks on failed Stripe payments](https://www.generalinput.com/prompts/open-general-input-crm-recovery-tasks-on-failed-stripe-payments.md)
- [Slack brief for multi-threading new Stripe customers](https://www.generalinput.com/prompts/slack-brief-for-multi-threading-new-stripe-customers.md)

Connect Stripe in General Input: https://www.generalinput.com/apps/stripe