Docs / Integrations / Adapters

Stripe Adapter

Apply deterministic policy checks to refunds, charges, and subscription lifecycle actions.

What it does

Apply deterministic policy checks to refunds, charges, and subscription lifecycle actions.

How it works

1. Validate intent

Adapter checks structure only (required fields, types, unknown fields). It does not run policy logic.

2. Normalize action

Intent is mapped to a generic NormalizedAction with action type PAYMENT.

3. Evaluate policy

Governor evaluates centrally with fail-closed semantics. Any uncertainty returns deny.

4. Build plan + execute

Execution plan is descriptive. Default path is dry-run and returns planned external calls.

5. Emit evidence

Decision output includes deterministic evidence packet and stable evidence hash.

Why this is useful

Removes adapter-specific policy drift by centralizing decisions.
Creates one audit and evidence model across all integrations.
Supports safe rollout with dry-run first and explicit approval paths.
Improves incident response because every decision has a deterministic hash.

Use it for

Payment execution controls and financial risk limits

Tier: Tier 1 · Critical Infra
Adapter ID: stripe
Action family: PAYMENT

Example intent

{
  "action": "refund",
  "payment_intent": "pi_123",
  "amount": 2500,
  "currency": "USD",
  "reason": "duplicate",
  "requested_by": "billing-agent"
}

Where to monitor