Skip to content

For the person who approves the Stripe key

Every permission Sutyr asks of your Stripe account.

Sutyr reads your billing data and writes only its own event feed until you choose more. It never charges your customers. Every call it makes is in your own Stripe request logs.

Your restricted keysrk_live_…
The free check
Read, on its own key
Connect and go live
Read, plus one write: its own event feed
Holds, if the Owner turns them on
Write on Invoices
Never
Charges, refunds, payouts and ten more

The exact calls each level makes

What the key can do, level by level.

Each level adds only what it needs; Sutyr tests a pasted key against this list before saving anything.

LevelReadsWrites
The free checkOne read of 90 days. The key arrives by one-time secret link, never email; revoke it once the report is in.6
The 6 reads

Invoices, Subscriptions, Charges, Customers, Payment methods and Balance.

0None
Connect and go liveSutyr’s own event feed. A needed hold becomes an alert to your team.12
13 with Account

Invoices, Customers, Payment methods, Subscriptions, Charges, Payment intents, Balance transactions, Disputes, Credit notes, Events, Tax IDs and Payment records. Account is optional.

1Event destinations
HoldsThe Owner’s choice. Hold and give back; mark approved write-offs uncollectible.Invoices read becomes write+1Invoices
Outside paymentsOptional. Can’t start, redirect or return a payment.Payment records read becomes write+1Payment records
Card link before a renewalOptional. Opens Stripe’s card-update page from your own domain.No change+1Customer portal
The most any customer grantsOnly Invoices is near money.134

Where other pages say writes to invoices only if you allow it, they mean the Holds row. Sending reminders from your domain takes DNS records your team adds at setup; Sutyr shows them.

Never granted

Tested and refused, on test and live keys

  • Refunds
  • Payouts
  • Transfers
  • Payment intents
  • Charges
  • Setup intents
  • Payment methods
  • Subscriptions
  • Checkout sessions
  • Credit notes
  • Payment links
  • Quotes

A key holding a write on any of these is refused when pasted. A secret key is refused by its prefix, with the message Use a restricted key. It starts with rk_.

Customers

Tested and refused on live keys. A test key may hold it, because Stripe’s test simulations create customers.

Not testable, so you confirm it

Payment records, and any other write outside these lists, such as products, prices, coupons, tax rates, webhook endpoints and files. Stripe gives no way to test these, so the setup asks you to confirm your key holds Read permissions only.

Refused at connectA key with refunds write

This key can move money. Make one with none of the 13 writes Sutyr never takes.

KEY_NOT_RESTRICTED

New features add workflow, not permissions.

The calls Sutyr makes in Stripe.

Reads are GETs on the resources above. Every write is below; the outbound gate refuses anything else.

LevelThe callWhat it does in Stripe
ConnectCreates one event destinationSets up Sutyr’s own event feed.
HoldsPOST /v1/invoices/:id with auto_advance=false and Sutyr’s hold marker in metadataHolds Stripe’s automatic collection on that one invoice.
POST /v1/invoices/:id setting auto_advance back to the value Sutyr read before the holdGives the hold back; refused and recorded if the subscription was cancelled, unpaid or paused, or collection changed meanwhile.
POST /v1/invoices/:id/mark_uncollectibleMarks an approved write-off uncollectible.
Outside paymentsPOST /v1/payment_records/report_paymentRecords an outside payment two people reviewed.
Card linkPOST /v1/billing_portal/sessionsOpens Stripe’s card-update page.

Who marks an approved write-off uncollectible? If the Owner turned on Holds, Sutyr marks it right after the approval (POST /v1/invoices/:id/mark_uncollectible). If not, your team marks it in Stripe, and the next morning’s check confirms it.

What a hold does in Stripe, and its eight reasons

What a hold does in Stripe

A hold pauses Stripe’s attempts, emails and Automations on that one invoice until its reason ends. A held renewal invoice isn’t issued while held. Holds apply only to invoices Stripe charges automatically.

Holds are rare, an Owner’s choice, and never apply to invoices on terms.

  • A written dispute
  • A lawyer request
  • An agreed payment plan
  • A credit or forgiveness promised to the customer
  • A payment made outside Stripe while it’s checked
  • A card reported lost (until a new card appears)
  • A consumer signal
  • An Owner’s hold with its reason

Sutyr never holds an invoice while a write-off on it is only proposed, never adds a hold where Stripe has already stopped after a hard decline, and never holds one for a cancelled, unpaid or paused subscription. Each hold ends with its reason, and a dispute hold ends only when a person on your team says so.

Stripe grants invoice access as one permission, so Sutyr’s gate decides what it’s used for.

A key with invoice access can finalize an invoice or change which card Stripe charges. It may also be able to pay an invoice, so Sutyr assumes it can. Sutyr never charges a card, debits a bank account, or moves or holds money, and has no action that does, for any role. One outbound gate refuses any request that could start or redirect a payment before it leaves Sutyr.

Try to make Sutyr charge a cardSent as an Owner.

POST /v1/invoices/in_1QkV8tQuil0rrBdxPqL23Rva/pay

Not sent yet.[outbound_gate] refused, not sent: no role has this actionNothing reached Stripe. Stripe makes every payment attempt.
Send the setup to your engineer

Every level and call, as plain text.

How to stop Sutyr.

To stop, disconnect in Sutyr, then revoke the key in Stripe.

  1. An Owner disconnects in Sutyr. When you disconnect, Sutyr stops at once and gives back any hold you choose, where that’s still safe. It then emails your Owners and Admins every invoice still held, with its amount, its reason, since when, and its Stripe link, so your team can follow each one up.
  2. Revoke the key in Stripe. Sutyr can’t call Stripe after that.
  3. Give back a hold yourself. In the Stripe Dashboard, turn automatic collection back on for the invoice, once its subscription is active.

When Sutyr is wrong, or down.

Your written policy decides, and a person signs off each write-off.

IfWhat happens
The policy you start with is wrongBefore going live, you see what your rules would have done on your last 90 days, invoice by invoice, and confirm it. In the first weeks, Sutyr reviews every action daily and can stop any of them at once.A go-live preview of your last 90 days, with Recording only mode as an option
Sutyr restarts, misses an event, or repeats a requestRuns resume, the hourly pull fetches missed events, and Stripe applies each hold once. Each release is replayed against running work before it ships.Durable runs on Temporal Cloud, an hourly pull of missed events, and idempotency keys
Sutyr is downBilling, Smart Retries and Stripe’s reminders keep running; held invoices stay held, and Sutyr’s runs resume.No payment passes through Sutyr
A run or a write to Stripe failsIt pages Sutyr’s on-call. Security events do too.Alerts on stuck writes to Stripe, failed runs and integrity violations
You can’t reach anyone at SutyrStripe carries on, any Owner can disconnect, and stopping Sutyr needs no one at Sutyr.Your key, revoked in your own Stripe Dashboard

Live status is at status.sutyr.com.

StripeSends an eventStored onceEach event, by its idRouted to its runDurable on Temporal CloudStripeTakes each hold onceThe hourly pullFetches what Stripe didn’t deliverA hold, with its own idempotency keyA delivery Stripe missedStripeSends an eventThe hourly pullFetches what Stripe didn’t deliverStored onceEach event, by its idRouted to its runDurable on Temporal CloudStripeTakes each hold onceA hold, with its own idempotency keyA delivery Stripe missed

Each Stripe event is stored once and routed to its run.

Sutyr sits beside the payment path: it reads Stripe’s events, and holds collection through your key only when your policy says so.

Sutyr and Stripe, side by side

Your policy gives every documented card decline code one of three treatments.

Stripe’s retries run on your own Stripe settings, Smart Retries included.

The three treatments, with their codes

Let Stripe retry

Stripe’s retries carry on and Sutyr changes nothing. If the last one fails, Sutyr flags the invoice until someone owns it.

  • insufficient_funds
  • processing_error
  • try_again_later
  • do_not_honor

Hold for a named reason

With holds allowed, Sutyr holds that card’s next auto-charge invoices until a new card appears; otherwise it alerts your team.

  • lost_card

Owner after Stripe’s last retry

Only the customer can fix it: the invoice gets reminders with Stripe’s invoice page, and Sutyr flags it until someone owns it.

  • expired_card
  • incorrect_cvc
  • authentication_required
  • transaction_not_allowed

The rules are enforced in the code and the database.

The application checks each request, and the database refuses what the rules don’t allow. A decided write-off is final, and the record keeps the names of who proposed it and who approved it.

If someone tries to

The record’s append-only trigger has one exception: the retention purge, run by a person when a company’s retention period ends.

Verify it yourself: on a 20-minute call, the database tests run live in test mode.

If someone tries to approve a write-off they proposed

Every write-off needs a reason and a second person, enforced by the database: the proposer can never approve it, and no setting lets one person approve a write-off alone.

new row for relation "proposals" violates check constraint "proposals_rules"

The console says Someone other than the proposer must approve this.

If someone tries to approve a $2,500.00 write-off as an Admin

Amounts at or above your limit need an Owner.

[sod_owner_limit] proposal c0mucruxh401fy0hpwto7rs18uus1: 250000 usd needs an Owner

If someone tries to publish a version nobody reviewed

In a team of two or more, a policy change goes live only after a named reviewer approves it.

[policy_unreviewed] version c0mtuaeobk0kvgo6r42z4l59q1ijf has no approved review by its publisher

In plain words: this version has no approved review yet.

If someone tries to publish a policy that writes to Stripe, as an Admin

A policy that writes to Stripe needs an Owner.

[policy_writes_owner] version c0mtuaeobk0kvgo6r42z4l59q1ijf writes to Stripe and needs an Owner

If someone tries to edit or delete line #2147

The record can only be added to.

Once a line is written, it stays. A trigger on the record table refuses every edit and delete, from Sutyr’s own code too.

09:52Write-off approved for Pryor & Webb, by Ines Marlow#2147
UPDATE record_entries SET … WHERE seq = 2147;
ERROR:  [append_only] record_entries is append-only
SQLSTATE: P0001

DELETE FROM record_entries WHERE seq = 2147;
ERROR:  [append_only] record_entries is append-only
SQLSTATE: P0001

The answer to any edit or delete of #2147.

The trigger, in SQL
CREATE FUNCTION sutyr_append_only() RETURNS trigger AS $$
BEGIN
  IF TG_OP = 'DELETE'
     AND sutyr_is_purging(OLD.organization_id) THEN
    RETURN OLD;
  END IF;
  …
  RAISE EXCEPTION '[append_only] % is append-only',
    TG_TABLE_NAME USING ERRCODE = 'P0001';
END $$;

CREATE TRIGGER sutyr_append_only
  BEFORE UPDATE OR DELETE ON record_entries
  FOR EACH ROW EXECUTE FUNCTION sutyr_append_only();

Four roles, and every action is checked against the person’s role.

Approving a write-off takes an Owner, an Admin or a Member tagged as an approver, never the person who proposed it.

What each of the four roles can do
Owner
Go live, turn holds on, replace or disconnect the key, change billing and delete the organization.
Admin
Turn a workflow off, change the Policy, manage the team, and see which Stripe events arrived and how each was handled. Pause, resume or stop an invoice’s reminders.
Member
Log a promise, a written dispute or a hold on one invoice. Tagged approvers approve write-offs.
Viewer
Read everything. Tagged signers sign off statements.

Your data, and who can reach it.

The free check

The free check keeps Stripe’s ids, amounts, dates, statuses, collection settings, decline codes, card brand and expiry, and Stripe’s card fingerprint, which identifies a card without its number. It never keeps names, emails or card numbers. Everything else it read is deleted within 30 days. Once you go live, Sutyr also keeps your customers’ billing contacts, to send reminders in your name. The DPA lists every field.

One invoice, as the free check reads it
One invoice, as the free check reads itFrom Stripe
id
in_1QkV8tQuil0rrBdxPqL23Rva
Kept
customer
cus_QmT4r8Lw2ZxaK7
Kept
customer_name
Venner Freight
Not kept
customer_email
ap@vennerfreight.example
Not kept
customer_address
14 Wharf Road, Halifax
Not kept
amount_due
360000
Kept, in cents
currency
usd
Kept
status
open
Kept

$3,600.00 owed by a customer the report knows by its id.

For your vendor review.

Copy the answers as plain text, and send questionnaires to security@sutyr.com.

Questions and answers, ready to paste.

Once you connect

Stripe’s events, the record and your statements; retention is in section 9 of the privacy policy.

Your key, and signing in

Encrypted at rest and sealed for your company alone; revoking it in Stripe ends Sutyr’s access at once. Sign-in is passwordless, with multi-factor options.

Who at Sutyr can reach it

Production access is restricted, and every administrative action is recorded.

Where it runs

Amazon Web Services, US East (N. Virginia), with backups in US West (Oregon). Temporal Cloud carries no personal data by design. Transfers: section 7 of the privacy policy.

Cards

Sutyr never receives full card numbers from Stripe.

Each company apart

Each company’s data is kept apart, and tests prove one company can’t read another’s.

Incidents

If a breach affects your data, Sutyr tells you as the DPA sets out. Ask privacy@sutyr.com for the DPA.

Audits

Sutyr has no SOC 2 report yet. The audit is planned. Until then, the answers on this page, and the reports of Sutyr’s infrastructure providers, which are theirs.

AI

No AI decides anything about money. Sutyr never uses the text of your emails to train AI models for anyone else without your agreement. Other data is used only once anonymized, to improve Sutyr, and an Owner can turn that off.

Sutyr runs on Stripe, Temporal Cloud and Amazon Web Services. The full list of sub-processorsPrivacy policySecurity and reporting a vulnerability

Start with a read-only check.

Share read access, and Sutyr does the rest. Your report arrives by email as a PDF. No call needed. A 20-minute call is there if you want one.

See the sample reportWebhook Lab, Sutyr’s open-source tool for testing Stripe events