Stripe v2

Provides integration with Stripe for template-driven commerce operations and authenticated webhook events.

Revision History

0.0.0.5 - Initial release.
0.0.1.5 - Maintenance release.
0.1.0.0 - Added explicit eager first-page and first-item handling with lazy continuation.
0.1.0.1 - Split operations into Query, Create, Update, Delete, and Action methods.
0.1.0.2 - Preserved inherited fields in designer templates when OpenAPI schemas use constraints-only allOf overlays.
0.1.0.4 - Added authenticated webhook verification with replay-tolerance checks.
0.1.0.6 - Renamed the Verify Webhook parameters Stripe-Signature and Tolerance (seconds) to StripeSignature and ToleranceSeconds.
0.1.0.10 - Runs on Cloud Runtimes only. Renamed Connection labels, added per-item route values and CSV lists, reads every Query page, and fails the Step on Query errors.

Connection

Use this Connection to store the Stripe API key and request settings used by the Node.

Property Type Description
SecretKey Masked Stripe secret or restricted key used as the Basic authentication username.
WebhookSigningSecret Masked Endpoint signing secret beginning with whsec_ used to verify Stripe webhook deliveries.
StripeApiVersion String Stripe API version used for requests. The default is 2026-05-27.dahlia.
StripeContext String Optional Stripe-Context header value for related-account execution. Use this instead of ConnectedAccountId when required by your Stripe integration.
ConnectedAccountId String Optional Stripe-Account header value. Leave this blank when StripeContext is set.
FinancialConnectionsEndpointFamily String Selects which Stripe Financial Connections account endpoint family to use. The default is Financial Connections. Use Linked Accounts (Legacy) only when your Stripe integration still requires it.
TimeoutSeconds Integer Timeout used for Stripe Connection validation and runtime API calls. The default is 30.

Setup Notes

  1. Create or locate a Stripe secret or restricted key that has access to the operations you want to run.
  2. Create a Flowgear Connection and enter the key in SecretKey.
  3. Leave StripeApiVersion at the default value unless your Stripe integration requires a different pinned API version.
  4. For related-account execution, set either StripeContext or ConnectedAccountId. Do not set both values on the same Connection.
  5. Leave FinancialConnectionsEndpointFamily set to Financial Connections unless your Stripe integration still uses the legacy linked-accounts routes.
  6. Run the Connection test. Flowgear calls GET /v1/account with the configured Stripe API version and account context.

For webhook Workflows, copy the endpoint-specific signing secret from Stripe into WebhookSigningSecret.

This Node runs on Cloud Runtimes.

Methods

The Stripe Node exposes template-driven methods backed by the embedded Stripe OpenAPI schema. Select a template so Flowgear fills in the correct OperationId, Options, and, when applicable, Items contract.

Query

Use Query to execute supported Stripe read operations.

Parameter Type Description
Connection Connection Stripe Connection profile.
OperationId String Identifier of the query operation selected by the template.
Options Object Route and query values required by the selected operation.
CustomParameters Object Custom placeholder values referenced from Options by names such as @name.
Return Type Description
Response Array Provider-shaped Stripe response rows. List and search responses emit one row per item in data[] and return zero rows for valid no-match outcomes.

Create

Use Create to execute supported Stripe create operations.

Parameter Type Description
Connection Connection Stripe Connection profile.
OperationId String Identifier of the create operation selected by the template.
Options Object Route and query values required by the selected operation. Route values in an item override these for that item.
Items Array Structured request body for the selected create template. Each top-level item is sent as a separate Stripe request.
Return Type Description
Response Array Mutation response rows that preserve Stripe response fields and add the Flowgear mutation object with IsSuccess, Message, and Request.

Update

Use Update to execute supported Stripe update operations.

Parameter Type Description
Connection Connection Stripe Connection profile.
OperationId String Identifier of the update operation selected by the template.
Options Object Route and query values required by the selected operation. Route values in an item override these for that item.
Items Array Structured request body for the selected update template. Each top-level item is sent as a separate Stripe request.
Return Type Description
Response Array Mutation response rows that preserve Stripe response fields and add the Flowgear mutation object with IsSuccess, Message, and Request.

Delete

Use Delete to execute supported Stripe delete operations.

Parameter Type Description
Connection Connection Stripe Connection profile.
OperationId String Identifier of the delete operation selected by the template.
Options Object Route and query values required by the selected operation. Route values in an item override these for that item.
Items Array Optional structured request body when Stripe documents one for the selected delete template. Each top-level item is sent as a separate Stripe request.
Return Type Description
Response Array Mutation response rows that preserve Stripe response fields and add the Flowgear mutation object with IsSuccess, Message, and Request.

Action

Use Action to execute supported Stripe non-CRUD operations, for example, cancel, confirm, capture, refund, attach, detach, disconnect, refresh, or finalize operations.

Parameter Type Description
Connection Connection Stripe Connection profile.
OperationId String Identifier of the action operation selected by the template.
Options Object Route and query values required by the selected operation. Route values in an item override these for that item.
Items Array Structured request body for the selected action template. Each top-level item is sent as a separate Stripe request.
Return Type Description
Response Array Mutation response rows that preserve Stripe response fields and add the Flowgear mutation object with IsSuccess, Message, and Request.

Verify Webhook

Verifies a Stripe webhook signature before parsing and returning the authenticated event.

Parameter Type Description
Connection Connection Stripe Connection containing the endpoint-specific webhook signing secret.
StripeSignature String Exact Stripe-Signature HTTP header value received from Stripe.
Payload Stream Untouched request-body stream returned by HTTP Receive Stream.
ToleranceSeconds Integer Maximum allowed difference between the signed timestamp and current UTC time. The default is 300.
Return Type Description
Event Object Verified, provider-shaped Stripe event JSON.

Usage Notes

  • Use the template picker to select a supported Stripe operation. Templates set OperationId and expose the matching Options and Items fields.
  • Set required route and query values, such as Options.account, before running the Step. A missing Query value or required query value fails the Step. A route value missing from both the item and Options fails only that item with <route> was not provided., and later items still run.
  • Query reads every page and returns each list or search result as a separate Response row. A list with no matches returns no rows.
  • Each item can carry its own route values, such as customer or intent, so one Step can act on several records. Options values apply to items that do not carry them.
  • Operations that send a request body require Items. Operations without a request body, such as deleting a customer, run once from Options when Items is not connected.
  • A null item field leaves the Stripe value unchanged. To clear a field, send an empty value ("").
  • String and integer lists use comma-separated values (CSV), for example a,b. Enclose values containing commas, quotes or line breaks in double quotes, and double any quotes inside a value. Empty text represents an empty list.
  • Query errors fail the Step.
  • A failed Create, Update, Delete or Action item returns Flowgear.IsSuccess set to false with Stripe's message, and later items still run. A rate limit (429), a permission or authentication error (401 or 403), a Stripe server error (5xx), a timeout or a connection failure fails the Step instead, and earlier items are already saved. A 402 status is a card error, such as a declined card.
  • Create, Update, Delete and Action requests are not retried. If the Step fails, check which items Stripe processed before running it again.
  • Workflows built on version 0.1.0.6 or earlier must map Flowgear.IsSuccess instead of httpStatus and errorType, read list fields as CSV text, and handle Query errors as Step errors.
  • The Linked Accounts (Legacy) endpoint family supports only the list account, retrieve account, disconnect account, list account owners and refresh account operations.
  • Start webhook Workflows with HTTP Receive Stream, map its untouched body stream to Payload, and map the Stripe-Signature header to StripeSignature. Parsed JSON receive variants cannot be used because Stripe signs the exact request body.

Known Issues

  • The Node does not expose /v1/files* endpoints or GET /v1/quotes/{quote}/pdf.