Runtime AI
L12 · Phase R3Every fraud-classification decision PaySafe makes at request time goes through the substrate's runConstrainedAI SDK. The LLM output is bounded by a closed-enum schema; the decision is recorded in L12 with an Ed25519 signature; the chain is verifiable end-to-end with node verify.mjs in 50KB of plain JS.
L12 entries
12
Chain breaks
0 · ever
Schema-valid
83%
p95 latency
296ms
Reviewer-gated
2 / 12
Fallback triggered
2 / 12
Head hash
13e4274c831dc3a2…
RuntimeAISpec
PaySafe fraud classifier
Classify an authorisation-time payment event as fraud / not-fraud / review / hold-customer-contact. Bounded by PSD3 SCA + DORA Art. 23 obligations. Every decision recorded in L12.
classifieron-low-confidence (≥ 0.85 confidence)deterministic-default4000msanthropic / claude-sonnet-4-5-202509292026-05-01Input schema
amountCents·numbercurrency·enum·{ EUR | GBP | USD | CHF | SEK | DKK | NOK | PLN }merchantCategory·enum·{ retail-general | retail-luxury | food-beverage | travel-transport | subscription-digital | gambling | crypto | cross-border-remit | other }countryCode·stringcardholderEmail·stringhash-onlycardLast4·stringhash-onlyrecentAuthCount24h·numbervelocityFlag·enum·{ none | low | medium | high }
Output schema (closed-enum)
label·enum·{ fraud | not-fraud | review | hold-customer-contact }primarySignal·enum·{ velocity | geography | merchant-category-risk | amount-anomaly | card-not-present-pattern | cardholder-history | no-strong-signal }reasonShort·string
Regulatory anchors
L12 chain — every decision, signed and linked
12 entries · head 13e4274c831d…| # | Recorded | Spec | Model | Latency | Schema | Reviewer | Fallback | Hash |
|---|---|---|---|---|---|---|---|---|
| 1 | 2025-05-12 11:30:00 | paysafe-fraud-classifier | anthropic | 184ms | valid | — | — | 8373504dcc… |
| 2 | 2025-05-12 11:30:01 | paysafe-fraud-classifier | anthropic | 162ms | valid | — | — | bf6913143f… |
| 3 | 2025-05-12 11:30:02 | paysafe-fraud-classifier | anthropic | 218ms | valid | — | — | d1ec79ea79… |
| 4 | 2025-05-12 11:30:03 | paysafe-fraud-classifier | anthropic | 173ms | valid | — | — | 2a674d7882… |
| 5 | 2025-05-12 11:30:04 | paysafe-fraud-classifier | anthropic | 201ms | valid | — | — | 85646c404e… |
| 6 | 2025-05-12 11:30:05 | paysafe-fraud-classifier | anthropic | 156ms | valid | — | — | bd2fd63546… |
| 7 | 2025-05-12 11:30:06 | paysafe-fraud-classifier | anthropic | 234ms | valid | — | — | c7f7e710e7… |
| 8 | 2025-05-12 11:30:07 | paysafe-fraud-classifier | anthropic | 148ms | valid | — | — | fb94a83a25… |
| 9 | 2025-05-12 11:30:08 | paysafe-fraud-classifier | anthropic | 296ms | valid | approved | — | df6518adc4… |
| 10 | 2025-05-12 11:30:09 | paysafe-fraud-classifier | anthropic | 211ms | valid | amended | — | 9a0503a5d5… |
| 11 | 2025-05-12 11:30:10 | paysafe-fraud-classifier | anthropic | 0ms | violation | — | fallback | e4e0f9831c… |
| 12 | 2025-05-12 11:30:11 | paysafe-fraud-classifier | anthropic | 0ms | violation | — | fallback | 13e4274c83… |
Verify the chain yourself
Download the L12 chain at /paysafe-runtime-ai-receipts.jsonl — the exact bytes the substrate's seed script produced. Verify with the substrate's runnable audit bundle:
# Clone the substrate + verify in 30 seconds (Node 18+ stdlib only) $ npm run substrate:verify-runtime-ai -- paysafe-runtime-ai-receipts.jsonl Promethean L12 Runtime-AI Receipt Log ===================================== schema: promethean-runtime-ai-receipt-log-1.0 total entries: 12 head hash: 13e4274c831dc3a2… products observed: paysafe specs observed: paysafe-fraud-classifier schema violations: 2 ← (2 out-of-enum LLM outputs, both fallback-handled) fallback triggered: 2 ← (1 schema-violation, 1 LLM-error fallback) reviewer-gated: 2 ← (2 low-confidence decisions queued + verdict-recorded) Chain verification ------------------ valid: true verified entries: 12 / 12 fully verified: 12 / 12 reason: ok
Plain Node 18+ stdlib. No external dependencies. ~500 lines of JavaScript anyone can audit. The chain is anchored to substrate state.json's L1 signature; state.json itself is OpenTimestamps- anchored to Bitcoin. End-to-end cryptographic continuity from intent → spec → LLM decision → deployed product → public verification, in one command.
Want this for your product?
Enterprise tier · €2,499/mo · self-serviceThis live L12 chain is a reference deployment. Your team can have the same shape — your closed-enum spec, your reviewer gate, your signed chain — for your fraud-classifier against PSD3 + DORA. The pilot is fixed scope (one feature, one spec, one chain), fixed price, fixed timeline. Pre-registered falsifiable hypotheses. 50% money-back if the T+90d verdict misses.