New Watch mode, and protect a Stripe agent with two settings

Infrastructure for AI agents

Make AI actions reliable.

Your AI agent decides a customer deserves a refund. Onceproof checks it against your policy, sends it to Stripe exactly once, confirms what Stripe actually did, and signs a receipt. When the answer is uncertain, it says so, and never retries blindly.

  • 14 days free
  • Cancel any time
  • Restricted Stripe key, stored encrypted

Onceproof is software for governing AI agents. It never processes, holds or moves money: refunds and credits run in your own Stripe account, under your own Stripe agreement.

An AI agent requests a refund. Onceproof runs it through intent, policy, execution, verification and commit against Stripe, and returns a verified result. In some runs Stripe's answer is lost; the refund becomes Unknown, is reconciled, and is then verified without being sent twice.
Works with
  • Stripe
  • Python
  • Node.js
  • PHP
  • Ruby
  • Java
  • REST
  • Zapier
  • Make
  • n8n

The problem

Agents retry. Networks time out. Money moves twice.

A refund request that times out may or may not have happened. Logs record what the agent tried, not what Stripe did.

Duplicate

A timeout, then a retry

The first refund went through, the response was lost, and the agent sent it again. The customer is refunded twice.

Phantom success

"Refunded" that never settled

Stripe accepted the refund, then it failed at the bank. The agent already told the customer it was done.

No proof

Nobody can say what happened

Finance, an auditor or the customer asks. There is no record anyone can check independently.

How it works

The agent asks. Onceproof decides, acts once and checks.

Your agent never holds the Stripe key. It calls Onceproof, which holds a restricted key and owns execution.

Your agent
  • Its own Stripe library, two settings changed
  • Or one REST call
  • Business key from the ticket
Onceproof
  • Policy outside the model
  • Idempotency and target locks
  • Reconciliation of unknowns
  • Verification by read-back
  • Hash-chained evidence, signed receipts
Stripe
  • Refunds
  • Customer balance credits
  • Webhooks back when refunds settle
IntentAgent asks, with a reason
AuthorizationPolicy allows $49
PreconditionsCharge refundable
ExecutionResponse lost: unknown
ReconciliationFound in Stripe by action id
VerificationExactly one, right amount
CommitReceipt signed
ConfirmedUnknown: not yet confirmed either wayRecovered by reconciliation

Two ways to start

Start watching today. Protect with two settings.

No rewrite and no new SDK. Begin with nothing to integrate, then put the agent behind Onceproof when you are ready.

Watch mode · nothing to integrate

Connect Stripe. Onceproof starts checking.

Every 15 minutes Onceproof reads your Stripe refunds and emails you when it finds one of these:

  • Duplicate refunds on the same charge
  • Refunds above your limits
  • Large refunds nobody approved
  • Refunds that failed after "success"

Finds problems after they happen. Takes about three minutes.

Protect mode · two settings

Your agent keeps calling Stripe. Through Onceproof.

import stripe

stripe.api_key  = "op_live_…"              # was: sk_live_…
stripe.api_base = "https://onceproof.com"  # was: api.stripe.com

stripe.Refund.create(charge=charge_id, amount=4900)  # unchanged
  • Stripe libraries for Python, Node.js, PHP, Ruby and Java, or one HTTP request
  • Policy, approvals and exactly-once happen before money moves
  • Not a developer? Send the setup to yours from the console

The console

Every refund, its state, and the proof. In one place.

Operators see what is verified, what is uncertain and what needs a person. Finance gets receipts they can check. This is the real product, running on simulated Stripe data.

The Onceproof console overview: metrics for actions, verification rate, unknown outcomes and amount managed, with a list of items that need attention.

Unknown is not failed

"We don't know yet" is an honest answer.

When Stripe doesn't answer, the refund is marked Unknown. New refunds on that charge are blocked, and Onceproof looks the refund up in Stripe by its own id. It re-sends only if the refund is proven absent. Most unknowns resolve in seconds; the rest go to a person with the evidence.

This panel uses the same component operators see in the console.

Unknown

We cannot yet confirm whether this refund exists in Stripe. It is not treated as failed, and it will not be retried until the external state is known.

What was attempted
Refund $49.00 USD on ch_3Q9xYz
What we know
1 request sent · other actions on this charge are locked
What we do not know
Whether Stripe created the refund (response lost)
Current action
Searching Stripe by action id
Risk if retried blindly
Duplicate refund. Blind retries are blocked.
Escalation
To a person in 12m 42s if still unknown

Verification

Expected, then observed. Side by side.

After Stripe answers, Onceproof reads the refund back and compares it with what was asked. A mismatch goes to a person; nothing is called "verified" until Stripe shows it.

Expected (from the request)
ActionRefund
Amount$49.00
Chargech_3Q9xYz
Effectsexactly 1
Observed (in Stripe)
ActionRefund
Amount$49.00
Chargech_3Q9xYz
Effects1
VerifiedMatches the intent exactly once, and is final.

Signed receipts

Proof anyone can check.

Every verified refund gets a receipt signed with Onceproof's key: what was asked, who approved it, what Stripe shows. Change one character and the check fails. Give it to finance, an auditor or the customer.

AuthenticEd25519
Transaction
act_4be1c0f5d2a94c77
Intent
“Customer charged twice for March”
Agent
support-refunds-agent
Approved by
maria.khan@finance
Stripe
re_3Q9xYz… · succeeded
Final state
Committed
Signature
MEUCIQDk…7Qx9 · verifies against the public key

Control

People stay in charge of the money.

Limits and approval thresholds live outside the model. Above a threshold, a person approves the exact amount; the server re-checks state, policy and parameters when they click.

Human review required

Refund $278.00

Why review is required
  • Amount $278.00 > approval threshold $250.00
  • Agent: support-refunds-agent
Customer
cus_pJG2T…
Bound to
params 453a3fa1…
Decided by maria.khan@finance
Hard limit · v3Active
WHENrefund > $500.00
THENBlock
Approval threshold · v3Active
WHENrefund > $250.00
THENRequire human approval

Already in production? Start in shadow mode: report the refunds your agent already makes, and Onceproof finds orphans, ghosts and duplicates without touching execution.

Developers

Change two settings. Or one call.

Point your agent's Stripe library at Onceproof, or call Onceproof's API directly for the full answer: what happened, and whether the agent may act again. The console walks you through it, with your key filled in.

API reference · Start free and open the setup guide

import stripe
stripe.api_key  = "op_live_…"               # the agent's Onceproof key
stripe.api_base = "https://onceproof.com"

try:
    stripe.Refund.create(charge="ch_3Q9xYz", amount=4900)
    reply("Your refund is on its way.")
except stripe.error.InvalidRequestError as e:
    if e.code == "onceproof_pending_approval": reply("A teammate is confirming it.")
    elif e.code == "onceproof_blocked":        reply("I can't refund that one.")

Why you can trust it

Built for money that must not move twice.

Exactly once, by designIdempotency keys, per-charge locks and reconciliation before any retry.
Verified in StripeNothing is called done until Stripe shows it. Uncertain stays “Unknown”.
Signed proofEd25519 receipts anyone can check, and a hash-chained audit history.
Your data stays yoursEach workspace is isolated. Disconnect Stripe any time; access is revoked at once.
The agent never holds the Stripe key

A restricted key stays inside Onceproof. Live keys are refused unless you opt in.

Per-agent keys and a kill switch

Stop any agent instantly; resuming needs an admin.

Roles for people

Viewers, approvers and admins. Approvals are recorded as the signed-in person.

Tamper-evident history

Every state change is hash-linked; the console recomputes the chain.

Signed receipts and webhooks

Ed25519 receipts; HMAC-signed events to your systems, private addresses refused.

Honest scope

Stripe refunds and credits only. No single sign-on yet; we say so.

Restricted keys, never full access

You connect Stripe with a restricted key that can only read charges, refund and credit. It is stored encrypted and never shown again; full secret keys are refused.

Hardened sign-in

HttpOnly cookies with CSRF protection, email verification, lockout after failed attempts, session list and sign-out everywhere.

Break it yourself

The public demo lets you lose a Stripe response on purpose and watch the recovery.

Two-factor sign-in

Authenticator apps with recovery codes for every account, and required for our own support staff.

Watch before you trust

Start in watch mode: Onceproof only reads your refunds and reports, and changes nothing until you connect an agent.

Report a vulnerability

Our security policy and security.txt say how. Email hello@onceproof.com.

Pricing

Pay for actions that actually happened.

Only refunds and credits verified in Stripe count. Blocked and failed actions are free, and a retry is never counted twice. After the included actions, 5¢ each.

Starter

For a first agent in production

$49/month

500 verified actions included

Start 14-day trial
  • 2 agents · 3 team members
  • Policies, approvals, kill switch
  • Signed receipts, audit history

Scale

For high volume and many teams

$599/month

25,000 verified actions included

Start 14-day trial
  • Unlimited agents · 25 team members
  • Everything in Growth
  • Priority support

Compare plans and read the pricing FAQ →

Questions

Before you connect real money

Does Onceproof hold or move my money?

No. Refunds and credits run on your own Stripe account. Onceproof decides whether an action is allowed, sends it to Stripe once, and checks the result. It never holds funds.

What if Stripe does not answer?

The refund is marked Unknown and further refunds on that charge are blocked. Onceproof looks the refund up in Stripe by its own id and re-sends only if it is proven not to exist. If it cannot tell, a person decides, with the evidence.

How long does integration take?

Watch mode starts as soon as you connect Stripe with a restricted key, in about three minutes. To protect refunds, an agent that uses a Stripe library changes two settings (key and address); otherwise it makes one HTTP request. Not a developer? Send the setup to yours from the console.

Can I try it without touching production?

Yes. Use the public demo, connect a Stripe test-mode account, or start in watch mode, where Onceproof only reads and reports on the refunds your agent already makes.

What is not supported yet?

Only Stripe refunds and customer balance credits. No other payment providers or single sign-on yet. Two-factor sign-in is available for every account.

Let your agents move money. Safely.

Start a 14-day trial with no card, connect Stripe in a few minutes, and let watch mode check your refunds today. Or open the demo and lose a Stripe response on purpose.