Skip to content
Stripe logoStripe logo

Stripe Integrations

Payment Processing

Build Stripe automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Stripe and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
16
available app actions
21
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Stripe MCP server: connect Stripe to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Stripe and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Stripe account and help me build a Zap with Stripe: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Stripe automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection stripe

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Stripe and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Stripe and other apps.

Use a premade Stripe automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Stripe triggers and actions your agent can build with right away.

  • Canceled Subscription

    Triggers when a subscription is canceled (by a subscriber or due to end of billing period).

  • Checkout Session Completed

    Triggers when a checkout session is completed.

  • Failed Payment

    Triggers when a payment attempt fails.

  • Invoice Payment Failed

    Triggers when an invoice payment fails.

  • New Charge

    Triggers when a new charge is completed.

  • New Customer

    Triggers when a new customer is added.

  • New Dispute

    Triggers when a customer disputes a charge.

  • New Subscription

    Triggers when a customer is signed up for a new plan.

Your agent picks the right Stripe action from what you ask. Connect Zapier once and it can use 38 Stripe tools, each with typed inputs. Zapier handles Stripe’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Stripe MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Stripe.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Stripe. It calls discover_zapier_actions to find the Stripe actions, then enable_zapier_action to add them.
  3. Approve the Stripe sign-in when prompted. If Stripe isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Stripe in 35 AI tools with Zapier MCP

38 Stripe MCP tools

ToolMCP nameWhat it does
Canceled Subscriptionstripe_canceled_subscription

Trigger · Read-only. Triggers when a subscription is canceled (by a subscriber or due to end of billing period).

Checkout Session Completedstripe_checkout_session_completed

Trigger · Read-only. Triggers when a checkout session is completed.

Failed Paymentstripe_failed_payment

Trigger · Read-only. Triggers when a payment attempt fails.

Invoice Payment Failedstripe_invoice_payment_failed

Trigger · Read-only. Triggers when an invoice payment fails.

New Chargestripe_new_charge

Trigger · Read-only. Triggers when a new charge is completed.

Required: ignore_payments (Ignore payments intents)

New Customerstripe_new_customer

Trigger · Read-only. Triggers when a new customer is added.

New Disputestripe_new_dispute

Trigger · Read-only. Triggers when a customer disputes a charge.

New Subscriptionstripe_new_subscription

Trigger · Read-only. Triggers when a customer is signed up for a new plan.

New Eventstripe_new_event

Trigger · Read-only. Triggers on a new event.

Optional: event_types (Event Types)

New Invoice Itemstripe_new_invoice_item

Trigger · Read-only. Triggers when a new invoice item is created.

New Invoicestripe_new_invoice

Trigger · Read-only. Triggers on a new invoice. You can filter based on the invoice's status. (supports line items)

Optional: status, collection_method, customer (Customer ID), subscription (Subscription ID)

New Paymentstripe_new_payment

Trigger · Read-only. Triggers when a new payment is completed.

New Payment Linkstripe_new_payment_link

Trigger · Read-only. Triggers when a new payment link is created.

Optional: products

New Refundstripe_new_refund

Trigger · Read-only. Triggers when a charge is refunded, including partial refunds.

Updated Subscriptionstripe_updated_subscription

Trigger · Read-only. Triggers when a customer subscription has changed.

Updated Disputestripe_updated_dispute

Trigger · Read-only. Triggers when a dispute is updated (usually with evidence).

Find Account Balancestripe_find_account_balance

Search · Read-only. Finds the account balance for your stripe account

Find Account by IDstripe_find_account_by_id

Search · Read-only. Finds a Stripe account by its ID.

Required: accountId (Account ID)

Find Balance Transactionsstripe_find_balance_transactions

Search · Read-only. Finds transactions that have contributed to the Stripe account balance, such as charges, transfers, and more.

Optional: created_after (Created after), created_before (Created before), currency, payout (Payout ID), source (Source ID), type, starting_after (Transactions before), ending_before (Transactions after)

Find Chargestripe_find_charge

Search · Read-only. Finds an existing charge by its Stripe ID.

Required: query (Stripe Charge ID)

Find Customerstripe_find_customer

Search · Read-only. Finds an existing customer by their Stripe ID or email address.

Required: query

Optional: selection (Find by)

Find Invoicestripe_find_invoice

Search · Read-only. Finds an existing invoice by its Stripe ID.

Required: query (Invoice ID)

Find Paymentstripe_find_payment

Search · Read-only. Finds an existing payment intent by its Stripe ID.

Required: query (Payment Intent ID)

Find Subscriptionstripe_find_subscription

Search · Read-only. Finds an existing subscription.

Required: customer_id (Customer ID)

Optional: price_id (Price ID), status

Make API GET Requeststripe_make_api_get_request

Action · Read-only. Make a GET HTTP request to Stripe's API, without needing to handle authentication. Fixed parameters: - method: GET This integration requests the following OAuth scopes: stripe_apps.

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Cancel Subscriptionstripe_cancel_subscription

Action · Writes data. Cancels a subscription.

Required: subscription_id (Subscription ID)

Confirm Paymentstripe_confirm_payment

Action · Writes data. Confirms an existing payment, also known as a PaymentIntent.

Required: payment_intent_id (Payment ID)

Optional: payment_method (Payment Method ID), receipt_email, error_on_requires_action (Error on Requires Action?), shipping_name (Shipping - Name), shipping_address_line1 (Shipping Address - Line 1), shipping_address_line2 (Shipping Address - Line 2), shipping_address_postal_code (Shipping Address - Postal Code), shipping_address_city (Shipping Address - City), shipping_address_state (Shipping Address - State), shipping_address_country (Shipping Address - Country), shipping_carrier (Shipping - Carrier), shipping_phone (Shipping - Phone), shipping_tracking_number (Shipping - Tracking Number)

Create Checkout Sessionstripe_create_checkout_session

Action · Writes data. Creates a new Checkout Session.

Required: mode, success_url (Success URL)

Optional: price (Price ID), quantity, cancel_url (Cancel URL), customer (Customer ID), customer_email (Customer Email), payment_method_types (Payment Method Types), currency, billing_address_collection (Billing Address Collection), shipping_address_collection_countries (Shipping Countries), allow_promotion_codes (Allow Promotion Codes), automatic_tax_enabled (Automatic Tax Enabled), coupon (Coupon ID), promotion_code (Promotion Code ID), client_reference_id (Client Reference ID), expires_at (Expires At)

Create Customerstripe_create_customer

Action · Writes data. Creates a new customer.

Optional: name, email, description, billing_address_line_1 (Billing - Address Line 1), billing_address_line_2 (Billing - Address Line 2), billing_city (Billing - City), billing_state (Billing - State), billing_postal_code (Billing - ZIP), billing_country (Billing - Country), billing_phone (Billing - Phone), shipping_name (Shipping - Name), shipping_address_line_1 (Shipping - Address Line 1), shipping_address_line_2 (Shipping - Address Line 2), shipping_city (Shipping - City), shipping_state (Shipping - State), shipping_postal_code (Shipping - ZIP), shipping_country (Shipping - Country), shipping_phone (Shipping - Phone), language, invoice_prefix (Invoice prefix), next_invoice_sequence, tax_status, balance (Credit Balance), metadata

Create Invoicestripe_create_invoice

Action · Writes data. Creates a new invoice.

Optional: customer (Customer ID), invoice_item_description (Description), quantity, unit_amount (Unit Price), amount, tax_behavior (Include Tax In Price?), tax_rates (Item Taxes), discountable (Is Discountable?), item_coupons, period_start (Supply Date - Start), period_end (Supply Date - End), invoice_item_currency (Invoice Item Currency), price (Price ID), invoice_item_subscription_id (Invoice Item Subscription ID), tax_code, shipping_rate, invoice_coupons, default_tax_rates, collection_method (Payment Collection), due_date (Due Date), days_until_due (Days Until Due), auto_advance (Turn On Automatic Collection?), default_payment_method, description (Memo), footer, custom_fields (Custom Fields), account_tax_ids (Tax IDs), pdf_page_size (PDF Page Size), shipping_details_name (Shipping Details - Name), shipping_details_phone (Shipping Details - Phone), shipping_details_line1 (Shipping Details - Address Line 1), shipping_details_line2 (Shipping Details - Address Line 2), shipping_details_city (Shipping Details - City), shipping_details_state (Shipping Details - State), shipping_details_postal_code (Shipping Details - Postal Code), shipping_details_country (Shipping Details - Country), subscription (Subscription ID), automatic_tax_enabled (Automatic Tax Enabled?), invoice_currency, effective_at, payment_method_types, amount_tax_display (Rendering - Amount Tax Display), statement_descriptor, pending_invoice_items_behavior (Pending Invoice Items Behavior), metadata (Invoice Metadata), finalize_invoice (Finalize Invoice?), send_invoice (Send Invoice for Manual Payment?), pay_invoice (Pay Invoice?), pay_invoice_forgive (Pay Invoice - Forgive), pay_invoice_off_session (Pay Invoice - Off-Session), pay_invoice_paid_out_of_band (Pay Invoice - Paid Out of Band)

Create Paymentstripe_create_payment

Action · Writes data. Creates a new payment, also known as a PaymentIntent.

Required: amount, currency

Optional: customer (Customer ID), payment_method (Payment Method ID), payment_method_types (Payment Method Types), confirm (Confirm Payment Immediately?), error_on_requires_action (Error on Requires Action?), off_session (Off Session?), description (Payment Description), receipt_email, shipping_name (Shipping - Name), shipping_address_line1 (Shipping Address - Line 1), shipping_address_line2 (Shipping Address - Line 2), shipping_address_postal_code (Shipping Address - Postal Code), shipping_address_city (Shipping Address - City), shipping_address_state (Shipping Address - State), shipping_address_country (Shipping Address - Country), shipping_carrier (Shipping - Carrier), shipping_phone (Shipping - Phone), shipping_tracking_number (Shipping - Tracking Number), statement_descriptor, statement_descriptor_suffix, metadata, capture_method

Create Payment Linkstripe_create_payment_link

Action · Writes data. Creates a payment link.

Required: price, quantity

Optional: minimum_adjustable_quantity (Minimum adjustable quantity), maximum_adjustable_quantity (Maximum adjustable quantity), collect_tax_automatically (Collect Tax Automatically?), allow_promotion_codes (Allow Promotion Codes?), restrict_completed_sessions (Maximum number of times the link can be used), collect_customers_addresses (Collect Customers' Addresses?), require_phone_number (Require customers to provide a phone number?), tax_id_collection (Collect Tax ID?), invoice_creation (Create Invoice on Payment?), require_terms_of_service (Require customers to accept terms of service agreement?), confirmation_page (Confirmation Page), metadata, payment_method_types

Create Pricestripe_create_price

Action · Writes data. Creates a price.

Required: product, unit_amount (Price (in minor units, e.g. cents)), currency

Optional: recurring_or_one_time (Recurring or One time?), tax_behavior (Tax Behavior)

Create Productstripe_create_product

Action · Writes data. Creates a new product.

Required: name

Optional: description, image, tax_code, metadata

Create Subscriptionstripe_create_subscription

Action · Writes data. Creates a new subscription.

Required: customer_id (Customer ID), items, collection_method

Optional: coupon (Coupon ID), default_payment_method (Default Payment Method ID), cancel_at_period_end (Cancel at period end?), metadata

Deactivate Payment Linkstripe_deactivate_payment_link

Action · Writes data. Deactivates a payment link.

Required: payment_link (Payment Link)

Update Customerstripe_update_customer

Action · Writes data. Updates an existing customer.

Required: customer_id (Customer ID)

Optional: name, email, description, billing_address_line_1 (Billing - Address Line 1), billing_address_line_2 (Billing - Address Line 2), billing_city (Billing - City), billing_state (Billing - State), billing_postal_code (Billing - ZIP), billing_country (Billing - Country), billing_phone (Billing - Phone), shipping_name (Shipping - Name), shipping_address_line_1 (Shipping - Address Line 1), shipping_address_line_2 (Shipping - Address Line 2), shipping_city (Shipping - City), shipping_state (Shipping - State), shipping_postal_code (Shipping - ZIP), shipping_country (Shipping - Country), shipping_phone (Shipping - Phone), language, invoice_prefix (Invoice prefix), next_invoice_sequence, tax_status, balance (Credit Balance), metadata

Make API Mutating Requeststripe_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to Stripe's API, without needing to handle authentication. This integration requests the following OAuth scopes: stripe_apps.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Stripe API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Stripe. You connect your account once, and your code references that connection instead of a raw token.

cancel_subscription (Cancel Subscription) requires subscription_id. Every Stripe action and its inputs are listed under Stripe triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection stripe
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "stripe", owner: "me" });

const { data } = await zapier.runAction({
  app: "stripe",
  actionType: "write",
  action: "cancel_subscription",
  connection: connection.id,
  inputs: {
    subscription_id: "", // Subscription ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action stripe write cancel_subscription \
  --inputs '{"subscription_id":""}'

Frequently asked questions about automating with Stripe

How do I connect Stripe to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Stripe. Claude finds the Stripe actions and adds them. If Stripe needs a sign-in, you approve it once.

Can I use the Stripe API without managing API keys?

With the Zapier SDK you connect your Stripe account to Zapier once, and your code runs actions through that connection. Zapier handles Stripe’s login, so you never paste an API key into your code.

What can an AI agent do with Stripe?

Through Zapier MCP, your agent can use 38 Stripe tools, such as Canceled Subscription, Checkout Session Completed, and Failed Payment. 25 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Stripe automations. It covers how Stripe connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Stripe

Stripe is a developer-friendly way to accept payments online and in mobile apps. Stripe's suite of APIs powers commerce for thousands of companies of all sizes, processing billions of dollars for businesses each year.

Related categories: Payment Processing