Inkress ADRsarchitecture decisions
Interactive prototypes

Drive the decisions, don’t just read them.

Every model below is live and runs entirely in your browser. They stand in for the real subsystems to make each architectural decision tangible.

ADR 0006

Card charge & the CDE

Drive a charge step by step and watch where the PAN is allowed to exist; try to tamper with the amount.

Full decision →
ADR 0029

The money ledger

Charge, fee, payout, dispute-hold and refund; watch entries append and available balance recompute.

Full decision →
ADR 0013

Order-status idempotency

Fire a duplicate paid webhook and watch the compare-and-set absorb it as a no-op.

Full decision →
ADR 0021

Fee-group calculator

Plan rates and who-pays, run through the ordered fee pipeline with the customer gross-up.

Full decision →
ADR 0002

Discount resolver

Enter a code; the server resolves it (valid, product-scoped, expired, or invalid).

Full decision →
ADR 0020

Tenancy query-rewriter

Watch the merchant_records join get injected, plus the skip_org_id and fail-open paths.

Full decision →