mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
17 lines
375 B
Plaintext
17 lines
375 B
Plaintext
package client
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/connectors/metrics"
|
|
)
|
|
|
|
type Transaction struct {}
|
|
|
|
func (c *client) GetTransactions(ctx context.Context, page, pageSize int) ([]*Transaction, error) {
|
|
ctx = context.WithValue(ctx, metrics.MetricOperationContextKey, "list_transactions")
|
|
|
|
// TODO: call PSP to get transactions
|
|
return nil, nil
|
|
}
|