mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
19 lines
405 B
Plaintext
19 lines
405 B
Plaintext
package client
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/connectors/metrics"
|
|
)
|
|
|
|
type PayoutRequest struct {}
|
|
|
|
type PayoutResponse struct {}
|
|
|
|
func (c *client) InitiatePayout(ctx context.Context, pr *PayoutRequest) (*PayoutResponse, error) {
|
|
ctx = context.WithValue(ctx, metrics.MetricOperationContextKey, "initiate_payout")
|
|
|
|
// TODO: call PSP to create payout
|
|
return nil, nil
|
|
}
|