Files
payments/internal/api/services/connectors_handle_webhooks.go

16 lines
286 B
Go

package services
import (
"context"
"github.com/formancehq/payments/internal/models"
)
func (s *Service) ConnectorsHandleWebhooks(
ctx context.Context,
urlPath string,
webhook models.Webhook,
) error {
return handleEngineErrors(s.engine.HandleWebhook(ctx, urlPath, webhook))
}