Payments — technical overview
Scaffolded stub — replace with proper documentation when this module is next touched.
Auto-discovered facts about the payments module. See the module's own notes at backend/app/modules/payments/CLAUDE.md for context the scaffold could not infer.
API surface
GET /api/v1/paymentsGET /api/v1/payments/budgets/{budget_id}/allocationsGET /api/v1/payments/filters/budgets-by-statusGET /api/v1/payments/filters/patients-with-debtGET /api/v1/payments/patients/{patient_id}/ledgerGET /api/v1/payments/reports/aging-receivablesGET /api/v1/payments/reports/by-methodGET /api/v1/payments/reports/by-professionalGET /api/v1/payments/reports/refundsGET /api/v1/payments/reports/summaryGET /api/v1/payments/reports/trendsGET /api/v1/payments/{payment_id}GET /api/v1/payments/{payment_id}/refundsPOST /api/v1/paymentsPOST /api/v1/payments/summary/by-budgetsPOST /api/v1/payments/summary/by-patientsPOST /api/v1/payments/{payment_id}/reallocatePOST /api/v1/payments/{payment_id}/refunds
Frontend
backend/app/modules/payments/frontend/pages/payments/index.vue→/paymentsbackend/app/modules/payments/frontend/pages/reports/payments/index.vue→/reports/payments
Permissions
record.read, record.write, record.refund, reports.read See ./permissions.md for the full role mapping.
Events
- Emits: (none)
- Subscribes:
odontogram.treatment.performed,treatment_plan.treatment_completed
See ./events.md for the per-event detail.
See also
- Module CLAUDE notes:
backend/app/modules/payments/CLAUDE.md - Documentation portal contract