Contents

Platform settings — SMS / payment provider records and active selection.

Locations

LayerPath
Domaininternal/domain/settings/
Applicationinternal/application/settings/start withservice.go
HTTPinternal/adapters/http/handler/settings_handler.go
GoUIinternal/adapters/goui/controller_settings_payments_audit.go
Persistenceadapters/persistence/postgres/settings_repository.go
Wiringwire_user.go (settingsService); wire_http.go, wire_goui.go

Application

FileRole
service.goFacade: SMS/payment provider CRUD, active provider, in-memory cache
dto.goOutbound view/DTO

In single-process deployment, Service caches settings in process memory; shared store required for horizontal scaling (not yet implemented).

HTTP surfaces

Registration: server.go/api/v1/settings/... (permission: notifications:settings)

MethodPathHandler
GET/POST/settings/smsListSMS / CreateSMS
GET/PATCH/settings/sms/:providerGet / Update SMS
GET/POST/settings/paymentListPayment / CreatePayment
GET/PATCH/settings/payment/:providerGet / Update payment

Panel surfaces

PathScreen
/dashboard/settings/smssms-settings
/dashboard/settings/sms/:providersms-provider
/dashboard/settings/paymentpayment-settings
/dashboard/settings/payment/:providerpayment-provider

Related