HostWebhook Help Center

Connect Stripe to your flows

Connect your Stripe account with the HostWebhook app, start a flow when a payment, refund, dispute, subscription, invoice or Checkout happens, create refunds, invoices, Payment Links and subscriptions from a flow, and let an AI node use a limited set of Stripe tools.

Time about 10 minutesYou need a HostWebhook account and a Stripe accountUpdated November 9, 2026

Connect your Stripe account once with the HostWebhook app, and your flows can start when a payment, a refund, a dispute, a subscription, an invoice or a Checkout happens, and act on the account: look up customers, payments and invoices, and create refunds, invoices, Payment Links, Checkout sessions, products, prices and subscriptions. You can also give an AI node a limited set of Stripe tools.

Live mode, test mode and a sandbox are separate credentials.

A credential sees only the data of its own mode: a test-mode credential can't see live customers or prices, and the other way round. Build and try your flows with a test-mode or a sandbox credential: nothing they do moves real money.

Connect your Stripe account

In HostWebhook, click Settings in the left sidebar, then Credentials, and start a new credential. Choose Stripe.

  1. Marker 1: In the list of types, choose Stripe.
  2. Marker 2: Give the credential a name, like My Stripe (test).
  3. Marker 3: Choose Test mode (test data and test cards: nothing is charged), Sandbox (a Stripe sandbox, with test data in its own environment) or Live mode (real customers and real payments).
  4. Marker 4: Click Connect Stripe. Stripe opens: sign in, check the permissions and install the HostWebhook app.
New Credential page with Stripe selected, the Test mode choice in the Live, test or sandbox picker and the Connect Stripe button

Back in HostWebhook, a message says Stripe is connected, in which mode, and the credential is named after your Stripe account, like Stripe – Your Shop (test). If you connect several accounts, or both modes, give each credential a name that says which one it is.

The HostWebhook app asks Stripe only for what the nodes use. Stripe shows the list when you install it:

Permission groupWhat it is for
CustomersLook customers up, and create, change or delete them
Payments and chargesLook payments and charges up, create, capture or cancel a payment, and create a refund
Subscriptions and invoicesLook them up, and create, change or cancel a subscription; create, send, pay or void an invoice and add items to it
Products and pricesLook them up, and create or change them
Payment Links and CheckoutLook them up, and create or deactivate a Payment Link; create or expire a Checkout session
Disputes and balanceRead them (and start a flow when a dispute happens); nothing is changed
EventsReceive the events your flows listen to

The access Stripe gives lasts an hour and HostWebhook renews it for you, so it doesn't expire. If Stripe stops accepting it, the credential asks to be reconnected, from its page. A reconnection only works with the same Stripe account.

Read and write: add a Stripe node

In Flows, add a Stripe node and open it. Pick your credential, choose Single operation under Mode, and open Operation. There are 44, in groups: customers, payments and refunds, subscriptions and invoices, products and prices, Payment Links and Checkout.

  1. Marker 1: Credential: the Stripe account, in the mode you want.
  2. Marker 2: Mode: Single operation runs one operation; AI toolkit is in step 05.
  3. Marker 3: Operation: pick one, like Create payment link. The fields below change with it.
Stripe node page with the connected credential, the Single operation mode and the Create payment link operation open with its fields

Start with a read, like Get customer: run it with a customer ID from your Stripe account, to see what comes back. A field takes a template: {{payload.object.customer}} uses a value from the event that started the flow.

Amounts are in the currency's smallest unit.

As in Stripe's API: 1999 is 19.99 USD and 500 is 500 JPY. The node shows what the number means under the field, and rejects 19.99 instead of charging 19 cents.

Create, Update, Cancel, Refund and the other operations that write change your Stripe account.

Run really does it, in the mode of the credential. Try it with a test-mode credential first.

A declined card, or any other refusal from Stripe, comes back as the node's error with Stripe's reason, like insufficient_funds, so the flow can branch on a failure.

Start a flow when something happens in Stripe

Add a Trigger node, choose the Stripe service, and pick your credential. Installing the app already sends the account's events to HostWebhook, so activating changes nothing in Stripe and never expires.

  1. Marker 1: Service: Stripe, with the credential of the account and the mode you want to listen to.
  2. Marker 2: Event Trigger: pick one or more, at least one. They are grouped: payments, charges and refunds, disputes, Checkout, customers, subscriptions, invoices, products, prices and Payment Links.
  3. Marker 3: Click Activate.
Stripe trigger page with the credential chosen, the event Payment succeeded selected and the Activate button

To listen to several modes, add one trigger for each credential. A trigger needs at least one connected node to run.

Test push shows what each event you picked looks like, so you can write {{payload.object.amount}} in the nodes below it from the start. To see a real one with a test-mode credential, make a test payment in Stripe with its public test card (•••• •••• •••• 4242: Stripe lists the full number in its testing guide).

Use what arrives

Everything the trigger sends is in payload, so the nodes after it can use it from the start:

What the trigger sends
{
"id": "evt_1QZ…",
"type": "invoice.paid",
"label": "Invoice paid",
"createdAt": "2026-10-08T17:02:11.000Z",
"livemode": false,
"accountId": "acct_1Q…",
"objectType": "invoice",
"objectId": "in_1QZ…",
"object": { "id": "in_1QZ…", "number": "ZZ-0001", "customer": "cus_Q…", "status": "paid", "amount_paid": 1500, "currency": "usd" }
}

object is the Stripe object exactly as Stripe sends it, with the same field names and the amounts in the smallest unit. On the *.updated events, previousAttributes holds what changed. Use the fields like {{payload.object.status}}. A common flow is a Stripe trigger on Payment succeeded, then a Slack or Email node that says who paid and how much.

Each event runs once.

Stripe resends an event it couldn't deliver. HostWebhook recognises its id and doesn't run the flow again. Events arrive signed, and HostWebhook checks the signature before anything runs.

Let an AI node use Stripe (optional)

Optional

In step 02, choose AI toolkit instead of Single operation. The node becomes 44 tools that an AI node calls by name, like get_stripe_customer. Add the tools you want to an AI node from its Tools: Add Tool, then From Workspace.

  1. Marker 1: The tools of the Stripe node, each with what it needs.
  2. Marker 2: The eleven that move money or can't be undone start blocked: nobody can use them until you unblock them.
  3. Marker 3: Characters per call sent to the model: 20,000 by default, from 1,000 to 200,000.
The AI toolkit mode of the Stripe node, with the list of tools and the eleven blocked ones marked

Unblock only what the assistant really needs, under Block these tool calls. If a flow uses an AI (the AI node, Hermes or Claude), what it reads from your Stripe account goes to that AI.

Disconnect Stripe (optional)

Optional

To stop HostWebhook from using your Stripe account, uninstall the HostWebhook app in Stripe, under your installed apps. Stripe tells HostWebhook: the triggers of that account turn off and show why, and the Stripe nodes stop working (the credential says it was disconnected). Then delete the credential in HostWebhook, under Settings, Credentials.

To use the account again, reconnect the credential from its page, which installs the app again, and activate the trigger.

Troubleshooting

Stripe doesn't let you install the app. Close the window and click Connect Stripe again. If Stripe still refuses, ask an administrator of that Stripe account to check that your user is allowed to install apps there.

The credential says it was disconnected. The app was uninstalled in Stripe, or Stripe stopped accepting the access. Reconnect the credential from its page.

An ID isn't found. Live mode, test mode and a sandbox don't mix. An ID from one doesn't exist in the others: check the mode of the credential.

The trigger doesn't run. Check that it is active and that the credential is the account and the mode where the event happened. A test payment only fires a trigger with a test-mode credential.

The payment waits and isn't charged. Confirming a payment right away needs a saved payment method and the option Confirm now. Without it, the payment waits for your checkout to confirm it.