TorbatYar/docs/payment-phase-pay-arch.md
Mortezakoohjani 9fac160258 feat(payment): ship Torbat Pay MVP phases 14.0-14.5
Add independent payment-service (port 8012, payment_db) with foundation licensing, BYO-PSP, merchant accounts, idempotent requests, callbacks, and immutable ledger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:57:04 +03:30

1.5 KiB

Phase Pay-Arch — Payment Architecture Prerequisites

Field Value
Phase ID payment-arch
Title Payment Architecture Prerequisites
Status Complete (documentation-only)
Service payment
ADR ADR-021 (extends ADR-020)

Purpose

Finalize all architectural prerequisites before payment-14.0 implementation so future phases never require breaking contract or licensing changes.

Deliverables

Definition of Done

  • All listed contracts documented with v1 JSON shapes
  • Service compatibility matrix verified (no existing service code changes)
  • Tenant enable/disable, PSP choice, mode switch documented as config-only
  • No implementation of payment-14.0