payment quotation v2 + payment orchestration v2 draft

This commit is contained in:
Stephan D
2026-02-24 13:01:35 +01:00
parent 0646f55189
commit 6444813f38
289 changed files with 17005 additions and 16065 deletions

View File

@@ -526,14 +526,11 @@ func (s *Service) startAnnouncer() {
if s == nil || s.producer == nil {
return
}
caps := []string{"telegram_confirmation", "money_persistence", "observe.confirm", "payout.fiat"}
if s.rail != "" {
caps = append(caps, "confirmations."+strings.ToLower(string(mservice.PaymentGateway))+"."+strings.ToLower(s.rail))
}
caps := discovery.CardPayoutRailGatewayOperations()
announce := discovery.Announcement{
ID: discovery.StablePaymentGatewayID(s.rail),
ID: discovery.StablePaymentGatewayID(discovery.NormalizeRail(s.rail)),
Service: string(mservice.PaymentGateway),
Rail: s.rail,
Rail: discovery.NormalizeRail(s.rail),
Operations: caps,
InvokeURI: s.invokeURI,
}