Soba Docs

Integrate

Stripe

How the plans you build in Soba become prices in your own Stripe account, how your users pay you, what Soba manages there and what stays yours, and what Soba charges for it.

Your users pay you in your own Stripe account, not Soba's. You stay the merchant of record, payouts go straight to you, and Soba never holds the money. Soba connects as a Stripe App with a fixed set of permissions, writes your paid plans into your catalogue, opens checkout there, and reads the events that say who paid.

Stripe takes the payment. Soba gates the runs.

A user's allowance and overage: stop are checked by Soba before a run starts, so they hold whether or not a payment has cleared.

Connecting your account#

In your workspace Settings, under Stripe, choose Connect Stripe. You can also start from soba.so/stripe, which is where the Stripe App Marketplace sends you. No key is ever pasted.

  1. Soba says what it will do and what stays yours, before you leave.
  2. Stripe asks you to approve. On Stripe's own page you pick the account and see each permission Soba asks for, with the reason it needs it.
  3. You come back connected. Your account id shows in Settings, and Soba adds the paid plans you already have to your Stripe straight away.

The person connecting needs to be a workspace owner or admin in Soba, and able to install apps on the Stripe account, which usually means a Stripe administrator. One Stripe account connects to one Soba workspace. If the two ever disagree — say an uninstall was missed — Reconnect in Settings puts it right.

A test-mode connection and a live connection are separate. Plans in your development environment always go to your Stripe test mode, so a plan written for testing never becomes a live price; production plans go to live.

Before you can sell#

Paid plans can be bought once two things are true, and the Plans page says which is missing:

  • your Stripe is connected;
  • the plan's price is in your Stripe. Soba writes it whenever you save the plan; if that ever fails, Sync now on the Plans page tries again.

What Soba manages, and what stays yours#

Soba manages Stays with you
A product and its prices for each paid plan The money, payouts and bank details
Checkout sessions when your users upgrade Tax
The customer Stripe Checkout creates for each buyer Refunds and disputes
Moving subscribers to a new price, only when you choose to Your customer portal, receipts and branding
Anything in your account Soba did not create

Everything Soba creates carries soba_managed in its metadata, along with the plan, app and version it came from, so it is always clear which objects are Soba's.

How a plan becomes Stripe objects#

Soba sells flat recurring prices. A plan with no price needs nothing from Stripe and nothing is created for it.

Plan field In Stripe
Name, description A product, kept in step when you edit the plan
priceMicros, interval A recurring price, in US dollars
trialDays The trial on the subscription, set at checkout
includedUnits, overage Nothing. The allowance is Soba's, enforced on every run; usage beyond it is not billed through Stripe
routePrefer, routeAllow, maxCostMicros Nothing. Routing and cost limits are Soba's
connectedReward Nothing. It changes the allowance Soba enforces

Archiving a plan, or making it free, deactivates its price and product in your Stripe. Nothing Soba created is ever deleted, so anybody already subscribed keeps what they agreed to.

Checkout#

<SobaCheckout /> and POST /v1/plans/checkout open Stripe Checkout in your account at the plan's current price, with the user's id on the session and the subscription. Nothing is granted at that point. The plan starts in Soba when Stripe confirms the payment, and ends when the subscription ends.

When something is missing, checkout answers 409 with a code you can show your user's admin: stripe_not_connected, billing_not_ready, plan_not_synced or changed_in_stripe.

If you bill through something other than Stripe — Paddle, Lemon Squeezy, your own code — report each upgrade with POST /v1/conversions instead, and the plan analytics work the same way.

Discounts#

A discount reward (see Rewards) becomes a coupon in your Stripe, with a promotion code for each of its codes. Stripe applies a coupon to a product, not to a single price, so plans that share a Stripe product are discounted together.

You can't change a coupon's amount or length once it's in Stripe. If you edit a discount's terms, Soba creates a new coupon and deletes the old one. Discounts already applied stay as they are. You can't change a promotion code's limit either, so a new limit means a new promotion code. When your app has discount codes, checkout shows a field to enter one.

What Soba charges#

Nothing on what you sell. There is no fee on your users' payments, and Soba takes no share of them: what they pay arrives in your account in full. See pricing.

Changing a price#

Stripe prices cannot be edited once created. When you change a plan's price or interval, Soba creates a new price and deactivates the old one, and everybody already subscribed stays on the old price. The Plans page then asks what you want for them: keep them where they are, or move them to the new price from their next renewal. Moving them never charges a difference mid-period.

Editing in Stripe directly#

You still can: it is your account. When a Soba product or price is changed in Stripe, Soba notices — from Stripe's events straight away, and from a daily check — and the Plans page says what changed.

  • Archived or deleted: the plan cannot be bought until it is back. Put it back restores it; a deleted price or product is written again as a new one.
  • Renamed, re-described, or its Soba marker removed: the plan still sells. Put it back, or Leave it as you made it, and Soba will not raise that change again.

Disconnecting#

Uninstall the app from your Stripe account at any time. Soba stops writing to your account, and new checkouts cannot start until you reconnect. Existing subscriptions keep charging, because they are yours — but while you are disconnected Soba no longer hears about payments or cancellations, so reconnect before relying on plans to follow them.

Getting help#

Email [email protected] with your workspace name and, if it is about a payment, the Stripe account id shown in Settings → Stripe. We reply within two business days.

Privacy · Terms · DPA · © 2026 Soba resolved = machine grant ∩ broker request