# Stripe — Pipedream Connect

> Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.

- API slug: `stripe` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Commerce
- Website: https://stripe.com/
- This page (HTML): https://pipedream.com/apps/stripe
- Tools: 48 actions · 11 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: stripe`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "stripe",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Cancel A Payment Intent:
const result = await mcp.callTool({
  name: "stripe-cancel-payment-intent",
  arguments: {
    id: "Payment Intent ID",
    cancellationReason: "Cancellation Reason",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Stripe endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.stripe.com/v1/accounts

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuc3RyaXBlLmNvbS92MS9hY2NvdW50cw?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "stripe-cancel-payment-intent",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    stripe: { authProvisionId: "apn_xxxxxxx" },
    id: "Payment Intent ID",
    cancellationReason: "Cancellation Reason",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (48)

### `stripe-cancel-payment-intent` — Cancel A Payment Intent (Write)

Cancel a PaymentIntent. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/cancel-payment-intent.md

### `stripe-cancel-or-reverse-payout` — Cancel Or Reverse A Payout (Write)

Cancel a pending payout or reverse a paid payout. See the documentation here and here

Full schema: https://pipedream.com/apps/stripe/actions/cancel-or-reverse-payout.md

### `stripe-cancel-subscription` — Cancel Subscription (Write)

Cancel a subscription. See the documentation

Full schema: https://pipedream.com/apps/stripe/actions/cancel-subscription.md

### `stripe-capture-payment-intent` — Capture a Payment Intent (Write)

Capture the funds of an existing uncaptured payment intent. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/capture-payment-intent.md

### `stripe-confirm-payment-intent` — Confirm A Payment Intent (Write)

Confirm that your customer intends to pay with current or provided payment method. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/confirm-payment-intent.md

### `stripe-create-customer` — Create a Customer (Write)

Create a customer. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-customer.md

### `stripe-create-payment-intent` — Create a Payment Intent (Write)

Create a payment intent. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-payment-intent.md

### `stripe-create-payout` — Create a Payout (Write)

Create a payout. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-payout.md

### `stripe-create-refund` — Create A Refund (Write)

Create a refund. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-refund.md

### `stripe-create-usage-record` — Create a Usage Record (Write)

With metered billing, you charge your customers based on their consumption of your service during the billing cycle, instead of explicitly setting quantities. Use this action to create a usage record for metered billing. See the docs for more information

Full schema: https://pipedream.com/apps/stripe/actions/create-usage-record.md

### `stripe-create-billing-meter` — Create Billing Meter (Write)

Creates a billing meter. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-billing-meter.md

### `stripe-create-invoice` — Create Invoice (Write)

Create an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-invoice.md

### `stripe-create-invoice-item` — Create Invoice Line Item (Write)

Add a line item to an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-invoice-item.md

### `stripe-create-price` — Create Price (Write)

Creates a new price for an existing product. The price can be recurring or one-time. See the documentation

Full schema: https://pipedream.com/apps/stripe/actions/create-price.md

### `stripe-create-product` — Create Product (Write)

Creates a new product object in Stripe. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-product.md

### `stripe-create-subscription` — Create Subscription (Write)

Create a subscription. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/create-subscription.md

### `stripe-delete-customer` — Delete a Customer (Write)

Delete a customer. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/delete-customer.md

### `stripe-delete-invoice-item` — Delete Invoice Line Item (Write)

Delete a line item from an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/delete-invoice-item.md

### `stripe-delete-or-void-invoice` — Delete Or Void Invoice (Write)

Delete a draft invoice, or void a non-draft or subscription invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/delete-or-void-invoice.md

### `stripe-finalize-invoice` — Finalize Draft Invoice (Write)

Finalize a draft invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/finalize-invoice.md

### `stripe-list-balance-history` — List Balance History (Read-only)

List all balance transactions. By default returns an array of transaction objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on…

Full schema: https://pipedream.com/apps/stripe/actions/list-balance-history.md

### `stripe-list-customers` — List Customers (Read-only)

Find or list customers. By default returns an array of customer objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next…

Full schema: https://pipedream.com/apps/stripe/actions/list-customers.md

### `stripe-list-invoices` — List Invoices (Read-only)

Find or list invoices. By default returns an array of invoice objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call…

Full schema: https://pipedream.com/apps/stripe/actions/list-invoices.md

### `stripe-list-payment-intents` — List Payment Intents (Read-only)

Retrieves a list of payment intents that were previously created. By default returns an array of payment intent objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass…

Full schema: https://pipedream.com/apps/stripe/actions/list-payment-intents.md

### `stripe-list-payouts` — List Payouts (Read-only)

Find or list payouts. By default returns an array of payout objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call…

Full schema: https://pipedream.com/apps/stripe/actions/list-payouts.md

### `stripe-list-refunds` — List Refunds (Read-only)

Find or list refunds. By default returns an array of refund objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call…

Full schema: https://pipedream.com/apps/stripe/actions/list-refunds.md

### `stripe-retrieve-checkout-session` — Retrieve a Checkout Session (Read-only)

A Checkout Session represents your customer's session as they pay for one-time purchases or subscriptions through Stripe Checkout. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-checkout-session.md

### `stripe-retrieve-customer` — Retrieve a Customer (Read-only)

Retrieves the details of an existing customer. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-customer.md

### `stripe-retrieve-payment-intent` — Retrieve a Payment Intent (Read-only)

Retrieves the details of a payment intent that was previously created. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-payment-intent.md

### `stripe-retrieve-payout` — Retrieve a Payout (Read-only)

Retrieves the details of an existing payout. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-payout.md

### `stripe-retrieve-price` — Retrieve a Price (Read-only)

Retrieves the details of an existing product price. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-price.md

### `stripe-retrieve-refund` — Retrieve a Refund (Read-only)

Retrieves the details of an existing refund. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-refund.md

### `stripe-retrieve-invoice` — Retrieve an Invoice (Read-only)

Retrieves the details of an existing invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-invoice.md

### `stripe-retrieve-checkout-session-line-items` — Retrieve Checkout Session Line Items (Read-only)

Given a checkout session ID, retrieve the line items. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-checkout-session-line-items.md

### `stripe-retrieve-invoice-item` — Retrieve Invoice Line Item (Read-only)

Retrieve a single line item on an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-invoice-item.md

### `stripe-retrieve-product` — Retrieve Product (Read-only)

Retrieve a product by ID. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-product.md

### `stripe-retrieve-balance` — Retrieve the Current Balance (Read-only)

Retrieves the current account balance, based on the authentication that was used to make the request. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/retrieve-balance.md

### `stripe-search-customers` — Search Customers (Read-only)

Search customers by various attributes like email domain, created date, etc. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/search-customers.md

### `stripe-search-subscriptions` — Search Subscriptions (Read-only)

Search for subscriptions. See the documentation

Full schema: https://pipedream.com/apps/stripe/actions/search-subscriptions.md

### `stripe-send-invoice` — Send Invoice (Write)

Manually send an invoice to your customer out of the normal schedule for payment (note that no emails are actually sent in test mode). See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/send-invoice.md

### `stripe-update-customer` — Update a Customer (Write)

Update a customer. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-customer.md

### `stripe-update-payment-intent` — Update a Payment Intent (Write)

Update a payment intent. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-payment-intent.md

### `stripe-update-payout` — Update a Payout (Write)

Update the metadata on a payout. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-payout.md

### `stripe-update-refund` — Update a Refund (Write)

Update the metadata on a refund. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-refund.md

### `stripe-update-invoice` — Update Invoice (Write)

Update an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-invoice.md

### `stripe-update-invoice-item` — Update Invoice Line Item (Write)

Update an invoice line item. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/update-invoice-item.md

### `stripe-void-invoice` — Void Invoice (Write)

Void an invoice. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/void-invoice.md

### `stripe-write-off-invoice` — Write Off Invoice (Write)

Mark an invoice as uncollectible. See the documentation.

Full schema: https://pipedream.com/apps/stripe/actions/write-off-invoice.md

## Triggers (11)

### `stripe-custom-webhook-events` — New Custom Webhook Events (Instant)

Emit new event on each webhook event

Full schema: https://pipedream.com/apps/stripe/triggers/custom-webhook-events.md

### `stripe-canceled-subscription` — Canceled Subscription (Instant)

Emit new event for each new canceled subscription

Full schema: https://pipedream.com/apps/stripe/triggers/canceled-subscription.md

### `stripe-abandoned-cart` — New Abandoned Cart (Instant)

Emit new event when a customer abandons their cart.

Full schema: https://pipedream.com/apps/stripe/triggers/abandoned-cart.md

### `stripe-new-customer` — New Customer (Instant)

Emit new event for each new customer

Full schema: https://pipedream.com/apps/stripe/triggers/new-customer.md

### `stripe-new-dispute` — New Dispute (Instant)

Emit new event for each new dispute

Full schema: https://pipedream.com/apps/stripe/triggers/new-dispute.md

### `stripe-new-failed-invoice-payment` — New Failed Invoice Payment (Instant)

Emit new event for each new failed invoice payment

Full schema: https://pipedream.com/apps/stripe/triggers/new-failed-invoice-payment.md

### `stripe-new-failed-payment` — New Failed Payment (Instant)

Emit new event for each new failed payment

Full schema: https://pipedream.com/apps/stripe/triggers/new-failed-payment.md

### `stripe-new-invoice` — New Invoice (Instant)

Emit new event for each new invoice

Full schema: https://pipedream.com/apps/stripe/triggers/new-invoice.md

### `stripe-new-payment` — New Payment (Instant)

Emit new event for each new payment

Full schema: https://pipedream.com/apps/stripe/triggers/new-payment.md

### `stripe-new-subscription` — New Subscription (Instant)

Emit new event for each new subscription

Full schema: https://pipedream.com/apps/stripe/triggers/new-subscription.md

### `stripe-subscription-updated` — Subscription Updated (Instant)

Emit new event on a new subscription is updated

Full schema: https://pipedream.com/apps/stripe/triggers/subscription-updated.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
