TorbatYar/docs/phases/Payment/README.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

2.9 KiB
Raw Blame History

Payment Platform Phase Area (Torbat Pay)

Independent enterprise Payment Platform (payment-service, payment_db, port 8012). Commercial product: Torbat Pay.

Supports BYO-PSP (tenant-owned gateways) and Torbat Pay Merchant (facilitator) modes for all TorbatYar verticals via API + Events only.

Phase Numbering

Payment track phases are 14.0–14.10 with manifest IDs payment-14.x.
Beauty Business uses a separate track: beauty-business-14.x — see beauty-business-roadmap.md.

Status

Phase Title Implementation Priority Status
Reg Platform Registration — Complete
Arch Architecture Prerequisites — Complete
14.0 Payment Foundation HIGH Complete
14.1 PSP Management HIGH Complete
14.2 Merchant Accounts HIGH Complete
14.3 Payment Requests HIGH Complete
14.4 Callback & Verification HIGH Complete
14.5 Transaction Ledger HIGH Complete
14.6 Refunds & Reversals LATER Planned
14.7 Split Payments & Facilitator Settlement LATER Planned
14.8 Vertical Connectors & Checkout Contracts LATER Planned
14.9 Reconciliation & Accounting Integration LATER Planned
14.10 Analytics, Fraud Shells & Enterprise Validation LATER Planned

Documents

Phase Documents

Boundary Reminder

Payment owns PSP routing, callbacks, and payment-domain ledger.
Verticals own checkout/commercial context.
Accounting owns journals. Communication owns message delivery.
Do not embed PSP SDKs in Hospitality, Marketplace, or other services.