Skip to content
Back to skills

Payment Flow Architecture

ASecurity

Architect money-safe payments: represent money as integer minor units + currency (never floats), keep a double-entry append-only ledger as source of truth (the PSP is an integration you reconcile against), design a money-event model, and reconcile continuously.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agents

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill payment-flow-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Payment Flow Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Payment Flow Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-payment-flow-architecture/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-payment-flow-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: payment-flow-architecture
description: "Architect money-safe payments: represent money as integer minor units + currency (never floats), keep a double-entry append-only ledger as source of truth (the PSP is an integration you reconcile against), design a money-event model, and reconcile continuously."
---

# Payment Flow Architecture

## Money = integers
Integer **minor units** (cents) + currency code. Never floats — float money = rounding-error disputes.

## Double-entry ledger = source of truth
Every movement = balanced **debits/credits** in an **append-only** ledger you own. The PSP is an integration you **reconcile** against, not your books.

## Reconcile continuously
Match ledger to PSP (payouts/fees/disputes); a discrepancy is a bug or fraud, not rounding. Unreconciled = mystery money.

## Hand off
Money events here; revenue recognition/GL -> `finance`; regulation -> `regulatory-compliance`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…