Skip to content

Stripe

Connect fyrn to Stripe to automate payment workflows — create customers, collect payments, manage subscriptions, and issue refunds.

Property Value
Type http
Authentication api_key
Category Finance & Accounting
Field Type Required Description
api_key string Yes Stripe secret API key (sk_live_... or sk_test_...)

Create a new Stripe customer for billing.

Endpoint POST /v1/customers
Method POST

Create a PaymentIntent to collect a payment. This is the recommended way to accept payments.

Endpoint POST /v1/payment_intents
Method POST

Create a draft invoice for a customer. Add invoice items, then finalize and send.

Endpoint POST /v1/invoices
Method POST

List all charges, optionally filtered by customer.

Endpoint GET /v1/charges
Method GET

Create a recurring subscription for a customer.

Endpoint POST /v1/subscriptions
Method POST

Refund a charge or payment intent (full or partial).

Endpoint POST /v1/refunds
Method POST
name: new-customer-subscription
description: When a user signs up, create a Stripe customer and start a subscription
trigger:
type: webhook
event: user.signup
steps:
- id: create-customer
connector: stripe
action: create-customer
params:
email: "{{ trigger.body.email }}"
name: "{{ trigger.body.name }}"
metadata:
source: "{{ trigger.body.signup_source }}"
- id: start-subscription
connector: stripe
action: create-subscription
params:
customer: "{{ steps.create-customer.result.id }}"
items:
- price: "price_standard_monthly"