payment quotation v2 + payment orchestration v2 draft
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user