ContactBook a call

Payments

Stripe integration consultant: payments connected to the rest of the business

SBD builds Stripe integrations for teams of 1 to 1,000 people: payments, subscriptions, refunds and payouts carried into your CRM, ledger and operations, with verified webhooks, idempotent writes and keys limited to what each job needs. Workflow automation builds start at $1,000, with the fixed price set after a $500 Automation Audit that is credited to the build.

Tool
stripe.com
Usually paired with
Supabase, Attio, QuickBooks, Xero
Timeline
Most builds live in 2 to 8 weeks
Owned by
You, with accounts, credentials and code in your name.

What we build on Stripe

  • Mark records paid the moment a payment lands
  • Create Stripe invoices and links from operations events
  • Reconcile payouts and fees to accounting
  • Handle failed payments and dunning with a human in the loop

What we sync

  • Customers
  • Invoices and payment links
  • Subscriptions
  • Payouts and balance transactions

Workflows we are asked for

  • Stripe webhook to paid status in your base
  • Stripe payouts to accounting
  • Failed payment follow-up
  • Subscription changes to the CRM

Tools Stripe usually needs to talk to

What a Stripe integration from SBD does

Stripe takes the payment.

What happens next is usually where teams lose time: a paid invoice that does not update the CRM, a failed renewal nobody chases, a payout that lands in the bank as one figure covering hundreds of charges, refunds and fees. We build the work around Stripe and leave the checkout to Stripe's own products, which handle it well.

Typical builds are: payment and subscription events that update the customer record in your CRM or app; dunning workflows that tell the account owner when a renewal fails and open a task for them; payouts broken into their charges, refunds and fees and posted to QuickBooks, Xero or Zoho Books so the bank feed reconciles; and refunds or credits requested in an internal tool, approved by a person, then executed through the API with a full log.

We have not published a case study built on Stripe, so we will not point you to one. Our published payments work uses Razorpay, in a QR cashback system for an industrial manufacturer where payouts are sent automatically by rule. The same principles apply: idempotent writes, verified events and a person in the loop where money moves.

When a custom integration beats a Stripe app

A good fit

The Stripe App Marketplace and Stripe's own Billing, Invoicing and Revenue Recognition products cover a lot. If one of them does the job, use it; we will say so in the audit.

A custom integration is worth building when

  • Payment events must change things in a system Stripe has no app for, such as your own product database or a Retool admin tool.
  • Your accountant wants payouts broken down at a level a connector does not provide.
  • Refunds, credits or plan changes need an approval step and an audit trail before they reach Stripe.
  • Several Stripe accounts, or Connect accounts, have to report into one place.
  • An AI agent will act on Stripe, and you want its key limited and its riskier actions held for approval.

Stripe rate limits, keys and idempotency

  1. 01

    From Stripe's documentation in October 2026: the global limit is 100 requests per second in live mode and 25 in a sandbox, and individual endpoints default to 25 requests per second. Some resources have their own limits, for example 1,000 update requests per PaymentIntent per hour, 10 new invoices per subscription per minute, and 20 read requests per second on the Search API. Separately, live mode allows 50 requests in progress at once by default. A rate-limited request returns 429 with a Stripe-Rate-Limited-Reason header saying which limit was hit. A 429 with code lock_timeout means two requests touched the same object at once, and the fix is to serialise writes to that object.

  2. 02

    Stripe also allocates read requests: an average of 500 per transaction over a rolling 30 days, with a minimum of 10,000 a month.

    Integrations that poll Stripe for changes instead of listening to events can run into this on a quiet account. We use webhooks for change and the API for detail.

  3. 03

    Every create or update we send carries an idempotency key.

    Stripe stores the first result for a key and returns it for any retry, keys can be up to 255 characters, and they may be pruned once at least 24 hours old. A refund that hits a network timeout can then be retried without issuing a second refund.

  4. 04

    For keys, Stripe now recommends restricted API keys for most uses, scoped to the permissions an integration needs, and advises moving existing secret key usage to them. Restricted keys can be tagged as belonging to an autonomous agent, which puts them under approval rules that require a reviewer for sensitive actions such as payouts and refunds. Keys can carry access policies limiting them to known IP addresses or networks, and rotation gives a grace period of up to 7 days. Each integration we build gets its own restricted key, named and documented, so revoking one does not break the others.

Stripe webhooks: retries, ordering and duplicates

Stripe retries live mode deliveries for up to three days with exponential backoff, and sandbox deliveries three times over a few hours

Failed events can also be resent manually, from the Dashboard for up to 15 days or the CLI for up to 30. An account can register up to 16 event destinations.

Three rules from Stripe's documentation shape every handler we write

Events are not delivered in order, so a handler must not assume invoice.paid arrives after invoice.created. The same event can arrive more than once, so processed event IDs are logged and skipped. And every event is signed in the Stripe-Signature header, checked against the raw request body with a default tolerance of 5 minutes, so frameworks that parse the body first will break verification. Handlers return 2xx immediately and do the work from a queue.

Stripe data model gotchas we design around

Stripe's objects map cleanly to payments and poorly to accounting until you decide how to translate them.

We settle these in the audit:

  • One payout covers many balance transactions, so reconciliation starts from the payout and works down to the charges.
  • Fees, refunds and disputes are separate balance transactions with their own timing, and each needs a home in the ledger.
  • The customer in Stripe and the customer in your CRM are linked by a stored ID, written to Stripe metadata and to your system, never matched on email alone.
  • Event payloads reflect the API version set on the account or destination, so an API upgrade is tested against the handlers before it is switched on.
  • Sandbox and live keys, objects and webhook secrets are separate. Configuration says which is which, so a test never touches a real customer.

How a Stripe engagement with SBD works

  1. Step 1$500Automation AuditCredited to the build
  2. Step 2from$1,000Workflow automationFixed after the audit
  3. Step 3from$3,000Internal toolsFixed after the audit
  4. Step 4from$5,000Multi-module systemsFixed after the audit
  5. Step 5from$50Care planA month, after sixty days of hypercare

Every engagement starts with an Automation Audit at $500, credited in full to your build. For Stripe we follow a payment from checkout to bank to ledger, list every place where someone copies, checks or chases by hand, and review how keys and webhooks are set up today. You get a ranked list of fixes with fixed prices and a blueprint for the first build.

Workflow automation builds start at $1,000, internal tools at $3,000, multi-module systems at $5,000 and micro-SaaS products at $10,000. We build on n8n, Make, Supabase, Retool or custom code. Work runs in two-week sprints and is tested in a Stripe sandbox before it touches live mode. Anything that moves money, refunds included, waits for a person to approve it. Sixty days of hypercare follow go-live, and care plans start at $50 a month. See the pricing page.

The Stripe account, every key and every webhook endpoint are yours. You receive a key register listing what each restricted key can do and where it is used, a runbook per integration, and the event handlers in a repository you own.

Stripe at enterprise scale

Larger organisations typically use Stripe across several products, regions or legal entities, sometimes as a Connect platform paying out to sellers or partners. Finance, revenue operations and engineering all depend on it, and the integration questions are usually about reconciliation, key control and who may issue refunds.

Key control

Each integration gets its own restricted key with only the permissions it needs, an access policy where your hosting allows, and an entry in a key register with an owner and a rotation date.

Refund and credit approvals

Refunds and credits are requested in an internal tool, approved by a named person above a set amount, then executed with an idempotency key and logged with who approved them.

Reconciliation

Payouts are broken into their balance transactions and posted to the ledger daily, with a check that the payout total matches the bank deposit.

Several accounts

Where you run more than one Stripe account, each has its own configuration and webhook secret, and reports are combined in one reporting table with the account named on every row.

Agents with limits

If an AI agent acts on Stripe, it uses an agent-tagged restricted key so Stripe approval rules apply, and our own approval queue holds anything that moves money.

Change control

API version upgrades and handler changes are tested in a sandbox, released in a scheduled window, and recorded in a change log your engineering team can review.

Engagements we take on

Already on Stripe, payouts that do not reconcile

The bank shows one deposit and the ledger cannot explain it. We post each payout with its charges, refunds and fees, so the bank feed matches and month end stops depending on one person.

Already on Stripe, failed renewals going unchased

Stripe retries the card but nobody on the account team knows. We send failed payment events to the CRM, open a task for the owner, and close it when the payment succeeds.

Already on Stripe, secret keys everywhere

One unrestricted secret key is shared by several tools. We move each integration to its own restricted key, document what each can do, and rotate the old key without downtime.

Standards on every build

Validation, retries, reconciliation, audit logs and alerts come as standard, with credentials and accounts in your name. Read the integration standards

What people ask about Stripe

Do you handle multi-currency?

Yes. Balance transactions carry the settled currency and fee, and that is what gets posted, not the presentment amount.

Start with the one Stripe workflow your team still runs by hand

Bring it to a discovery call. You leave with a yes or no on fit, an outline of the build and what we would do first.

Book the call

Cookie preferences

Choose what this site may use on your device. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Keep the site working and remember the choices you make here. These cannot be switched off, and none of them track you.

Always on
What this includes (4)
NameProvider PurposeDuration
sbd-consentThis site Remembers your cookie choices12 months
Vercel Web AnalyticsVercel Inc. Counts page views in aggregate. Sets no cookie and stores nothing on your deviceNone
ticker-dismissed, sbd-note-offThis site Remembers that you closed a notice or language tipUntil the tab closes
sbd-voice-resume, sbd-voice-prefillThis site Carries a voice conversation across pages, only if you start oneUntil the tab closes

Analytics

Tell us which pages are read and where visitors leave, so we can improve them. IP addresses are anonymised and nothing is used for advertising.

What this includes (2)
NameProvider PurposeDuration
_gaGoogle Analytics (Google LLC) Distinguishes visitors with a random ID13 months
_ga_FPXDMQPRV1Google Analytics (Google LLC) Keeps the session state for this site13 months

Functional

Embedded services that set their own cookies. Without them the site still works; you get a link to open the service instead.

What this includes (1)
NameProvider PurposeDuration
Booking calendarCal.com Inc. Shows live availability and books the call on the booking pageSet by Cal.com

Advertising

Not used. This site has no advertising, retargeting or social media tracking, and we never sell data.

Not used

Questions about your data: hello@smallbaydigital.com