CommunityHire an ExpertSign Up
Payments and commerceStripe
Payments and commerce

Stripe integration

Connect Stripe to Softr and manage customers, payments, products, prices, subscriptions, coupons and invoices from workflows and agents with a secret API key.

Stripe is a payment service for taking payments and managing customers, products, prices, subscriptions, coupons, and invoices. In Softr, you can use Stripe actions in workflows and agents to process payments and pull live charges and balance data.

Connect Stripe

  1. Open your Stripe Dashboard and go to Developers → API keys to copy your Secret API key.
  2. Open your Softr app and go to Workflows.
  3. Create a new workflow and add a Stripe action.
  4. Select Connect to Stripe and paste your Secret API key.
  5. Choose the operation you need, such as create a customer, create a payment intent, or list charges.
  6. Map fields from your forms, records, or earlier steps to the action inputs.
  7. Test the workflow, then publish it.

Use cases

Use caseWhat it does
Charge on signupWhen a member signs up, create a Stripe customer and a payment intent to charge them.
Form-based checkoutCollect order details in a form, create a payment intent, and confirm the charge in one workflow.
Admin customer managerLet your team search Stripe customers, view their charges, and update their details.
Live revenue dashboardShow the current Stripe balance and recent charges in a dashboard.
Targeted couponsCreate coupons in a workflow and email them to a user group.
Memberships at several pricesCreate a product with monthly and yearly prices, then subscribe the member to the price they pick.
Self-serve subscriptionsLet members view their subscription, change the plan, or cancel at period end.
Automated invoicingAdd line items to a customer, create and finalize an invoice, then email it or charge it.

Use Stripe in workflows and agents

Workflows and agents can use Stripe to take payments, manage customers, products, prices, subscriptions, coupons, and invoices, and pull live charges and balance data.

Actions

The Stripe actions in the workflow step picker: Create customer, Get customer, List customers, Update customer, Delete customer, Create payment intent, Confirm payment intent, Get charge, List charges, Update charge, Create coupon, List coupons, Get balance, Create product, Get product, Get many products, Update product, Delete product, Create price, Get price, Get many prices, Archive price, Create subscription, Get subscription, Get many subscriptions, Update subscription, Cancel subscription, Create invoice item, Create invoice, Get invoice, Get many invoices, Finalize invoice, Pay invoice, Send invoice, Void invoice, Create payment link

The Stripe actions in the step picker of a workflow.
ActionWhat it does
Create customerAdds a new customer to Stripe with their email, name, and custom metadata.
Get customerLooks up a single Stripe customer by ID.
List customersPulls a list of customers from Stripe, such as customers created in the last 30 days.
Update customerUpdates a customer’s email, name, address, or metadata when their record changes in your data source.
Delete customerRemoves a customer from Stripe when they are deleted from your app or close their account.
Create payment intentStarts a new payment for a given amount and currency.
Confirm payment intentConfirms a payment intent to move the funds and complete the charge after the customer provides their payment details.
Get chargeRetrieves the details of a single charge by ID.
List chargesFetches a list of charges by customer, by date range, or across the whole account.
Update chargeUpdates metadata or descriptions on an existing charge, such as tagging a payment with a Softr record ID or internal notes.
Create couponGenerates a new fixed-amount or percentage-off Stripe coupon.
List couponsPulls all available coupons from Stripe.
Get balanceFetches your current Stripe account balance, including available and pending funds.
Create productAdds a catalog product to Stripe with its name, description, images, and metadata.
Get productLooks up a single product by ID.
Get many productsRetrieves a list of products, optionally filtered to only active or only archived ones.
Update productUpdates a product’s name, description, images, default price, or metadata. Set it to inactive to archive it without affecting existing subscriptions.
Delete productPermanently delete a product that has never had a price attached. To hide other products, use Update product and set them to inactive.
Create priceCreates a one-time or recurring price using the smallest currency unit, such as cents. For recurring prices, set the billing interval and interval count.
Get priceRetrieves a single price by ID.
Get many pricesLists prices, optionally filtered to a single product.
Archive priceDeactivates a price for new purchases without affecting existing subscriptions, or reactivate an archived price. Stripe does not support a general update price action.
Create subscriptionSubscribes a customer to one or more recurring prices. Optionally add a free trial, apply a coupon, or schedule cancellation at period end.
Get subscriptionRetrieves a single subscription by ID, including its status, items, and current period.
Get many subscriptionsLists subscriptions, filtered by customer, status, or price.
Update subscriptionSwaps the price, changes the quantity, applies a coupon, updates the payment method, or schedules cancellation at period end.
Cancel subscriptionCancels a subscription immediately. To keep access until the paid period ends, use Update subscription with cancel at period end instead.
Create invoice itemAdds a one-off line item with a custom amount or existing price to a customer. Pending items join the next invoice or a specific draft.
Create invoiceCreates a draft invoice for a customer, pulling in pending invoice items. Choose to charge the saved card automatically or email a payable invoice.
Get invoiceRetrieves a single invoice by ID, including its status, totals, hosted invoice URL, and PDF links.
Get many invoicesLists invoices, filtered by customer, subscription, or status.
Finalize invoiceMoves a draft invoice to open, locking its line items and generating the hosted page and PDF. You must finalize an invoice before paying or sending it.
Pay invoiceAttempts to collect payment on an open invoice using the customer’s default or specified payment method.
Send invoiceEmails an open invoice to the customer so they can pay through the hosted invoice page.
Void invoiceVoids an open invoice that should not be paid. Voiding is final and cannot be undone.
Create payment linkCreates a shareable Stripe checkout link for a price.

Triggers

The Stripe triggers in the workflow trigger picker: On event

The Stripe triggers in the trigger picker of a workflow.
TriggerStarts when
On eventAn event you select happens in Stripe, such as a payment that succeeds or a subscription that is created.

Good to know

  • A product is what you sell, such as a membership tier, event, course, or physical item, and it holds one or more prices.
  • A price sets how much and how often you charge, such as $10/month, $120/year, or $25 one-time.
  • Prices cannot be freely edited. To change an amount, create a new price and archive the old one.
  • Invoices follow Stripe’s lifecycle: draft, then open, then paid, uncollectible, or void.

FAQ

Which Stripe key do I need?

A Secret API key. Find it in your Stripe Dashboard under Developers → API keys.

How do I let a member keep access until the period ends?

Use Update subscription with cancel at period end. Cancel subscription ends the subscription immediately.

Can I edit a price?

No. Create a new price and archive the old one with Archive price.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.