Documentation ΒΆ
Index ΒΆ
- Variables
- func Bool(b bool) *bool
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int64(i int64) *int64
- func String(s string) *string
- type Auth
- func (s *Auth) CreateClient(ctx context.Context, request *shared.CreateClientRequest, ...) (*operations.CreateClientResponse, error)
- func (s *Auth) CreateSecret(ctx context.Context, request operations.CreateSecretRequest, ...) (*operations.CreateSecretResponse, error)
- func (s *Auth) DeleteClient(ctx context.Context, request operations.DeleteClientRequest, ...) (*operations.DeleteClientResponse, error)
- func (s *Auth) DeleteSecret(ctx context.Context, request operations.DeleteSecretRequest, ...) (*operations.DeleteSecretResponse, error)
- func (s *Auth) ListClients(ctx context.Context, opts ...operations.Option) (*operations.ListClientsResponse, error)
- func (s *Auth) ListUsers(ctx context.Context, opts ...operations.Option) (*operations.ListUsersResponse, error)
- func (s *Auth) ReadClient(ctx context.Context, request operations.ReadClientRequest, ...) (*operations.ReadClientResponse, error)
- func (s *Auth) ReadUser(ctx context.Context, request operations.ReadUserRequest, ...) (*operations.ReadUserResponse, error)
- func (s *Auth) UpdateClient(ctx context.Context, request operations.UpdateClientRequest, ...) (*operations.UpdateClientResponse, error)
- type Formance
- type HTTPClient
- type Ledger
- func (s *Ledger) AddMetadataOnTransaction(ctx context.Context, request operations.AddMetadataOnTransactionRequest, ...) (*operations.AddMetadataOnTransactionResponse, error)
- func (s *Ledger) AddMetadataToAccount(ctx context.Context, request operations.AddMetadataToAccountRequest, ...) (*operations.AddMetadataToAccountResponse, error)
- func (s *Ledger) CountAccounts(ctx context.Context, request operations.CountAccountsRequest, ...) (*operations.CountAccountsResponse, error)
- func (s *Ledger) CountTransactions(ctx context.Context, request operations.CountTransactionsRequest, ...) (*operations.CountTransactionsResponse, error)
- func (s *Ledger) CreateTransaction(ctx context.Context, request operations.CreateTransactionRequest, ...) (*operations.CreateTransactionResponse, error)
- func (s *Ledger) CreateTransactions(ctx context.Context, request operations.CreateTransactionsRequest, ...) (*operations.CreateTransactionsResponse, error)
- func (s *Ledger) GetAccount(ctx context.Context, request operations.GetAccountRequest, ...) (*operations.GetAccountResponse, error)
- func (s *Ledger) GetBalances(ctx context.Context, request operations.GetBalancesRequest, ...) (*operations.GetBalancesResponse, error)
- func (s *Ledger) GetBalancesAggregated(ctx context.Context, request operations.GetBalancesAggregatedRequest, ...) (*operations.GetBalancesAggregatedResponse, error)
- func (s *Ledger) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.GetInfoResponse, error)
- func (s *Ledger) GetLedgerInfo(ctx context.Context, request operations.GetLedgerInfoRequest, ...) (*operations.GetLedgerInfoResponse, error)
- func (s *Ledger) GetMapping(ctx context.Context, request operations.GetMappingRequest, ...) (*operations.GetMappingResponse, error)
- func (s *Ledger) GetTransaction(ctx context.Context, request operations.GetTransactionRequest, ...) (*operations.GetTransactionResponse, error)
- func (s *Ledger) ListAccounts(ctx context.Context, request operations.ListAccountsRequest, ...) (*operations.ListAccountsResponse, error)
- func (s *Ledger) ListLogs(ctx context.Context, request operations.ListLogsRequest, ...) (*operations.ListLogsResponse, error)
- func (s *Ledger) ListTransactions(ctx context.Context, request operations.ListTransactionsRequest, ...) (*operations.ListTransactionsResponse, error)
- func (s *Ledger) ReadStats(ctx context.Context, request operations.ReadStatsRequest, ...) (*operations.ReadStatsResponse, error)
- func (s *Ledger) RevertTransaction(ctx context.Context, request operations.RevertTransactionRequest, ...) (*operations.RevertTransactionResponse, error)
- func (s *Ledger) RunScript(ctx context.Context, request operations.RunScriptRequest, ...) (*operations.RunScriptResponse, error)
- func (s *Ledger) UpdateMapping(ctx context.Context, request operations.UpdateMappingRequest, ...) (*operations.UpdateMappingResponse, error)
- func (s *Ledger) V2AddMetadataOnTransaction(ctx context.Context, request operations.V2AddMetadataOnTransactionRequest, ...) (*operations.V2AddMetadataOnTransactionResponse, error)
- func (s *Ledger) V2AddMetadataToAccount(ctx context.Context, request operations.V2AddMetadataToAccountRequest, ...) (*operations.V2AddMetadataToAccountResponse, error)
- func (s *Ledger) V2CountAccounts(ctx context.Context, request operations.V2CountAccountsRequest, ...) (*operations.V2CountAccountsResponse, error)
- func (s *Ledger) V2CountTransactions(ctx context.Context, request operations.V2CountTransactionsRequest, ...) (*operations.V2CountTransactionsResponse, error)
- func (s *Ledger) V2CreateBulk(ctx context.Context, request operations.V2CreateBulkRequest, ...) (*operations.V2CreateBulkResponse, error)
- func (s *Ledger) V2CreateLedger(ctx context.Context, request operations.V2CreateLedgerRequest, ...) (*operations.V2CreateLedgerResponse, error)
- func (s *Ledger) V2CreateTransaction(ctx context.Context, request operations.V2CreateTransactionRequest, ...) (*operations.V2CreateTransactionResponse, error)
- func (s *Ledger) V2DeleteAccountMetadata(ctx context.Context, request operations.V2DeleteAccountMetadataRequest, ...) (*operations.V2DeleteAccountMetadataResponse, error)
- func (s *Ledger) V2DeleteLedgerMetadata(ctx context.Context, request operations.V2DeleteLedgerMetadataRequest, ...) (*operations.V2DeleteLedgerMetadataResponse, error)
- func (s *Ledger) V2DeleteTransactionMetadata(ctx context.Context, request operations.V2DeleteTransactionMetadataRequest, ...) (*operations.V2DeleteTransactionMetadataResponse, error)
- func (s *Ledger) V2GetAccount(ctx context.Context, request operations.V2GetAccountRequest, ...) (*operations.V2GetAccountResponse, error)
- func (s *Ledger) V2GetBalancesAggregated(ctx context.Context, request operations.V2GetBalancesAggregatedRequest, ...) (*operations.V2GetBalancesAggregatedResponse, error)
- func (s *Ledger) V2GetInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetInfoResponse, error)
- func (s *Ledger) V2GetLedger(ctx context.Context, request operations.V2GetLedgerRequest, ...) (*operations.V2GetLedgerResponse, error)
- func (s *Ledger) V2GetLedgerInfo(ctx context.Context, request operations.V2GetLedgerInfoRequest, ...) (*operations.V2GetLedgerInfoResponse, error)
- func (s *Ledger) V2GetTransaction(ctx context.Context, request operations.V2GetTransactionRequest, ...) (*operations.V2GetTransactionResponse, error)
- func (s *Ledger) V2GetVolumesWithBalances(ctx context.Context, request operations.V2GetVolumesWithBalancesRequest, ...) (*operations.V2GetVolumesWithBalancesResponse, error)
- func (s *Ledger) V2ListAccounts(ctx context.Context, request operations.V2ListAccountsRequest, ...) (*operations.V2ListAccountsResponse, error)
- func (s *Ledger) V2ListLedgers(ctx context.Context, request operations.V2ListLedgersRequest, ...) (*operations.V2ListLedgersResponse, error)
- func (s *Ledger) V2ListLogs(ctx context.Context, request operations.V2ListLogsRequest, ...) (*operations.V2ListLogsResponse, error)
- func (s *Ledger) V2ListTransactions(ctx context.Context, request operations.V2ListTransactionsRequest, ...) (*operations.V2ListTransactionsResponse, error)
- func (s *Ledger) V2ReadStats(ctx context.Context, request operations.V2ReadStatsRequest, ...) (*operations.V2ReadStatsResponse, error)
- func (s *Ledger) V2RevertTransaction(ctx context.Context, request operations.V2RevertTransactionRequest, ...) (*operations.V2RevertTransactionResponse, error)
- func (s *Ledger) V2UpdateLedgerMetadata(ctx context.Context, request operations.V2UpdateLedgerMetadataRequest, ...) (*operations.V2UpdateLedgerMetadataResponse, error)
- type Orchestration
- func (s *Orchestration) CancelEvent(ctx context.Context, request operations.CancelEventRequest, ...) (*operations.CancelEventResponse, error)
- func (s *Orchestration) CreateTrigger(ctx context.Context, request *shared.TriggerData, opts ...operations.Option) (*operations.CreateTriggerResponse, error)
- func (s *Orchestration) CreateWorkflow(ctx context.Context, request *shared.CreateWorkflowRequest, ...) (*operations.CreateWorkflowResponse, error)
- func (s *Orchestration) DeleteTrigger(ctx context.Context, request operations.DeleteTriggerRequest, ...) (*operations.DeleteTriggerResponse, error)
- func (s *Orchestration) DeleteWorkflow(ctx context.Context, request operations.DeleteWorkflowRequest, ...) (*operations.DeleteWorkflowResponse, error)
- func (s *Orchestration) GetInstance(ctx context.Context, request operations.GetInstanceRequest, ...) (*operations.GetInstanceResponse, error)
- func (s *Orchestration) GetInstanceHistory(ctx context.Context, request operations.GetInstanceHistoryRequest, ...) (*operations.GetInstanceHistoryResponse, error)
- func (s *Orchestration) GetInstanceStageHistory(ctx context.Context, request operations.GetInstanceStageHistoryRequest, ...) (*operations.GetInstanceStageHistoryResponse, error)
- func (s *Orchestration) GetWorkflow(ctx context.Context, request operations.GetWorkflowRequest, ...) (*operations.GetWorkflowResponse, error)
- func (s *Orchestration) ListInstances(ctx context.Context, request operations.ListInstancesRequest, ...) (*operations.ListInstancesResponse, error)
- func (s *Orchestration) ListTriggers(ctx context.Context, request operations.ListTriggersRequest, ...) (*operations.ListTriggersResponse, error)
- func (s *Orchestration) ListTriggersOccurrences(ctx context.Context, request operations.ListTriggersOccurrencesRequest, ...) (*operations.ListTriggersOccurrencesResponse, error)
- func (s *Orchestration) ListWorkflows(ctx context.Context, opts ...operations.Option) (*operations.ListWorkflowsResponse, error)
- func (s *Orchestration) OrchestrationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.OrchestrationgetServerInfoResponse, error)
- func (s *Orchestration) ReadTrigger(ctx context.Context, request operations.ReadTriggerRequest, ...) (*operations.ReadTriggerResponse, error)
- func (s *Orchestration) RunWorkflow(ctx context.Context, request operations.RunWorkflowRequest, ...) (*operations.RunWorkflowResponse, error)
- func (s *Orchestration) SendEvent(ctx context.Context, request operations.SendEventRequest, ...) (*operations.SendEventResponse, error)
- func (s *Orchestration) TestTrigger(ctx context.Context, request operations.TestTriggerRequest, ...) (*operations.TestTriggerResponse, error)
- func (s *Orchestration) V2CancelEvent(ctx context.Context, request operations.V2CancelEventRequest, ...) (*operations.V2CancelEventResponse, error)
- func (s *Orchestration) V2CreateTrigger(ctx context.Context, request *shared.V2TriggerData, opts ...operations.Option) (*operations.V2CreateTriggerResponse, error)
- func (s *Orchestration) V2CreateWorkflow(ctx context.Context, request *shared.V2CreateWorkflowRequest, ...) (*operations.V2CreateWorkflowResponse, error)
- func (s *Orchestration) V2DeleteTrigger(ctx context.Context, request operations.V2DeleteTriggerRequest, ...) (*operations.V2DeleteTriggerResponse, error)
- func (s *Orchestration) V2DeleteWorkflow(ctx context.Context, request operations.V2DeleteWorkflowRequest, ...) (*operations.V2DeleteWorkflowResponse, error)
- func (s *Orchestration) V2GetInstance(ctx context.Context, request operations.V2GetInstanceRequest, ...) (*operations.V2GetInstanceResponse, error)
- func (s *Orchestration) V2GetInstanceHistory(ctx context.Context, request operations.V2GetInstanceHistoryRequest, ...) (*operations.V2GetInstanceHistoryResponse, error)
- func (s *Orchestration) V2GetInstanceStageHistory(ctx context.Context, request operations.V2GetInstanceStageHistoryRequest, ...) (*operations.V2GetInstanceStageHistoryResponse, error)
- func (s *Orchestration) V2GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetServerInfoResponse, error)
- func (s *Orchestration) V2GetWorkflow(ctx context.Context, request operations.V2GetWorkflowRequest, ...) (*operations.V2GetWorkflowResponse, error)
- func (s *Orchestration) V2ListInstances(ctx context.Context, request operations.V2ListInstancesRequest, ...) (*operations.V2ListInstancesResponse, error)
- func (s *Orchestration) V2ListTriggers(ctx context.Context, request operations.V2ListTriggersRequest, ...) (*operations.V2ListTriggersResponse, error)
- func (s *Orchestration) V2ListTriggersOccurrences(ctx context.Context, request operations.V2ListTriggersOccurrencesRequest, ...) (*operations.V2ListTriggersOccurrencesResponse, error)
- func (s *Orchestration) V2ListWorkflows(ctx context.Context, request operations.V2ListWorkflowsRequest, ...) (*operations.V2ListWorkflowsResponse, error)
- func (s *Orchestration) V2ReadTrigger(ctx context.Context, request operations.V2ReadTriggerRequest, ...) (*operations.V2ReadTriggerResponse, error)
- func (s *Orchestration) V2RunWorkflow(ctx context.Context, request operations.V2RunWorkflowRequest, ...) (*operations.V2RunWorkflowResponse, error)
- func (s *Orchestration) V2SendEvent(ctx context.Context, request operations.V2SendEventRequest, ...) (*operations.V2SendEventResponse, error)
- type Payments
- func (s *Payments) AddAccountToPool(ctx context.Context, request operations.AddAccountToPoolRequest, ...) (*operations.AddAccountToPoolResponse, error)
- func (s *Payments) ConnectorsTransfer(ctx context.Context, request operations.ConnectorsTransferRequest, ...) (*operations.ConnectorsTransferResponse, error)
- func (s *Payments) CreateAccount(ctx context.Context, request shared.AccountRequest, opts ...operations.Option) (*operations.CreateAccountResponse, error)
- func (s *Payments) CreateBankAccount(ctx context.Context, request shared.BankAccountRequest, ...) (*operations.CreateBankAccountResponse, error)
- func (s *Payments) CreatePayment(ctx context.Context, request shared.PaymentRequest, opts ...operations.Option) (*operations.CreatePaymentResponse, error)
- func (s *Payments) CreatePool(ctx context.Context, request shared.PoolRequest, opts ...operations.Option) (*operations.CreatePoolResponse, error)
- func (s *Payments) CreateTransferInitiation(ctx context.Context, request shared.TransferInitiationRequest, ...) (*operations.CreateTransferInitiationResponse, error)
- func (s *Payments) DeletePool(ctx context.Context, request operations.DeletePoolRequest, ...) (*operations.DeletePoolResponse, error)
- func (s *Payments) DeleteTransferInitiation(ctx context.Context, request operations.DeleteTransferInitiationRequest, ...) (*operations.DeleteTransferInitiationResponse, error)
- func (s *Payments) ForwardBankAccount(ctx context.Context, request operations.ForwardBankAccountRequest, ...) (*operations.ForwardBankAccountResponse, error)
- func (s *Payments) GetAccountBalances(ctx context.Context, request operations.GetAccountBalancesRequest, ...) (*operations.GetAccountBalancesResponse, error)
- func (s *Payments) GetBankAccount(ctx context.Context, request operations.GetBankAccountRequest, ...) (*operations.GetBankAccountResponse, error)
- func (s *Payments) GetConnectorTask(ctx context.Context, request operations.GetConnectorTaskRequest, ...) (*operations.GetConnectorTaskResponse, error)
- func (s *Payments) GetConnectorTaskV1(ctx context.Context, request operations.GetConnectorTaskV1Request, ...) (*operations.GetConnectorTaskV1Response, error)
- func (s *Payments) GetPayment(ctx context.Context, request operations.GetPaymentRequest, ...) (*operations.GetPaymentResponse, error)
- func (s *Payments) GetPool(ctx context.Context, request operations.GetPoolRequest, ...) (*operations.GetPoolResponse, error)
- func (s *Payments) GetPoolBalances(ctx context.Context, request operations.GetPoolBalancesRequest, ...) (*operations.GetPoolBalancesResponse, error)
- func (s *Payments) GetTransferInitiation(ctx context.Context, request operations.GetTransferInitiationRequest, ...) (*operations.GetTransferInitiationResponse, error)
- func (s *Payments) InstallConnector(ctx context.Context, request operations.InstallConnectorRequest, ...) (*operations.InstallConnectorResponse, error)
- func (s *Payments) ListAllConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListAllConnectorsResponse, error)
- func (s *Payments) ListBankAccounts(ctx context.Context, request operations.ListBankAccountsRequest, ...) (*operations.ListBankAccountsResponse, error)
- func (s *Payments) ListConfigsAvailableConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListConfigsAvailableConnectorsResponse, error)
- func (s *Payments) ListConnectorTasks(ctx context.Context, request operations.ListConnectorTasksRequest, ...) (*operations.ListConnectorTasksResponse, error)
- func (s *Payments) ListConnectorTasksV1(ctx context.Context, request operations.ListConnectorTasksV1Request, ...) (*operations.ListConnectorTasksV1Response, error)
- func (s *Payments) ListPayments(ctx context.Context, request operations.ListPaymentsRequest, ...) (*operations.ListPaymentsResponse, error)
- func (s *Payments) ListPools(ctx context.Context, request operations.ListPoolsRequest, ...) (*operations.ListPoolsResponse, error)
- func (s *Payments) ListTransferInitiations(ctx context.Context, request operations.ListTransferInitiationsRequest, ...) (*operations.ListTransferInitiationsResponse, error)
- func (s *Payments) PaymentsgetAccount(ctx context.Context, request operations.PaymentsgetAccountRequest, ...) (*operations.PaymentsgetAccountResponse, error)
- func (s *Payments) PaymentsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.PaymentsgetServerInfoResponse, error)
- func (s *Payments) PaymentslistAccounts(ctx context.Context, request operations.PaymentslistAccountsRequest, ...) (*operations.PaymentslistAccountsResponse, error)
- func (s *Payments) ReadConnectorConfig(ctx context.Context, request operations.ReadConnectorConfigRequest, ...) (*operations.ReadConnectorConfigResponse, error)
- func (s *Payments) ReadConnectorConfigV1(ctx context.Context, request operations.ReadConnectorConfigV1Request, ...) (*operations.ReadConnectorConfigV1Response, error)
- func (s *Payments) RemoveAccountFromPool(ctx context.Context, request operations.RemoveAccountFromPoolRequest, ...) (*operations.RemoveAccountFromPoolResponse, error)
- func (s *Payments) ResetConnector(ctx context.Context, request operations.ResetConnectorRequest, ...) (*operations.ResetConnectorResponse, error)
- func (s *Payments) ResetConnectorV1(ctx context.Context, request operations.ResetConnectorV1Request, ...) (*operations.ResetConnectorV1Response, error)
- func (s *Payments) RetryTransferInitiation(ctx context.Context, request operations.RetryTransferInitiationRequest, ...) (*operations.RetryTransferInitiationResponse, error)
- func (s *Payments) ReverseTransferInitiation(ctx context.Context, request operations.ReverseTransferInitiationRequest, ...) (*operations.ReverseTransferInitiationResponse, error)
- func (s *Payments) UdpateTransferInitiationStatus(ctx context.Context, request operations.UdpateTransferInitiationStatusRequest, ...) (*operations.UdpateTransferInitiationStatusResponse, error)
- func (s *Payments) UninstallConnector(ctx context.Context, request operations.UninstallConnectorRequest, ...) (*operations.UninstallConnectorResponse, error)
- func (s *Payments) UninstallConnectorV1(ctx context.Context, request operations.UninstallConnectorV1Request, ...) (*operations.UninstallConnectorV1Response, error)
- func (s *Payments) UpdateBankAccountMetadata(ctx context.Context, request operations.UpdateBankAccountMetadataRequest, ...) (*operations.UpdateBankAccountMetadataResponse, error)
- func (s *Payments) UpdateConnectorConfigV1(ctx context.Context, request operations.UpdateConnectorConfigV1Request, ...) (*operations.UpdateConnectorConfigV1Response, error)
- func (s *Payments) UpdateMetadata(ctx context.Context, request operations.UpdateMetadataRequest, ...) (*operations.UpdateMetadataResponse, error)
- type Reconciliation
- func (s *Reconciliation) CreatePolicy(ctx context.Context, request shared.PolicyRequest, opts ...operations.Option) (*operations.CreatePolicyResponse, error)
- func (s *Reconciliation) DeletePolicy(ctx context.Context, request operations.DeletePolicyRequest, ...) (*operations.DeletePolicyResponse, error)
- func (s *Reconciliation) GetPolicy(ctx context.Context, request operations.GetPolicyRequest, ...) (*operations.GetPolicyResponse, error)
- func (s *Reconciliation) GetReconciliation(ctx context.Context, request operations.GetReconciliationRequest, ...) (*operations.GetReconciliationResponse, error)
- func (s *Reconciliation) ListPolicies(ctx context.Context, request operations.ListPoliciesRequest, ...) (*operations.ListPoliciesResponse, error)
- func (s *Reconciliation) ListReconciliations(ctx context.Context, request operations.ListReconciliationsRequest, ...) (*operations.ListReconciliationsResponse, error)
- func (s *Reconciliation) Reconcile(ctx context.Context, request operations.ReconcileRequest, ...) (*operations.ReconcileResponse, error)
- func (s *Reconciliation) ReconciliationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.ReconciliationgetServerInfoResponse, error)
- type SDKOption
- func WithClient(client HTTPClient) SDKOption
- func WithRetryConfig(retryConfig retry.Config) SDKOption
- func WithSecurity(security shared.Security) SDKOption
- func WithSecuritySource(security func(context.Context) (shared.Security, error)) SDKOption
- func WithServerIndex(serverIndex int) SDKOption
- func WithServerURL(serverURL string) SDKOption
- func WithTemplatedServerURL(serverURL string, params map[string]string) SDKOption
- func WithTimeout(timeout time.Duration) SDKOption
- type Search
- type Wallets
- func (s *Wallets) ConfirmHold(ctx context.Context, request operations.ConfirmHoldRequest, ...) (*operations.ConfirmHoldResponse, error)
- func (s *Wallets) CreateBalance(ctx context.Context, request operations.CreateBalanceRequest, ...) (*operations.CreateBalanceResponse, error)
- func (s *Wallets) CreateWallet(ctx context.Context, request *shared.CreateWalletRequest, ...) (*operations.CreateWalletResponse, error)
- func (s *Wallets) CreditWallet(ctx context.Context, request operations.CreditWalletRequest, ...) (*operations.CreditWalletResponse, error)
- func (s *Wallets) DebitWallet(ctx context.Context, request operations.DebitWalletRequest, ...) (*operations.DebitWalletResponse, error)
- func (s *Wallets) GetBalance(ctx context.Context, request operations.GetBalanceRequest, ...) (*operations.GetBalanceResponse, error)
- func (s *Wallets) GetHold(ctx context.Context, request operations.GetHoldRequest, ...) (*operations.GetHoldResponse, error)
- func (s *Wallets) GetHolds(ctx context.Context, request operations.GetHoldsRequest, ...) (*operations.GetHoldsResponse, error)
- func (s *Wallets) GetTransactions(ctx context.Context, request operations.GetTransactionsRequest, ...) (*operations.GetTransactionsResponse, error)
- func (s *Wallets) GetWallet(ctx context.Context, request operations.GetWalletRequest, ...) (*operations.GetWalletResponse, error)
- func (s *Wallets) GetWalletSummary(ctx context.Context, request operations.GetWalletSummaryRequest, ...) (*operations.GetWalletSummaryResponse, error)
- func (s *Wallets) ListBalances(ctx context.Context, request operations.ListBalancesRequest, ...) (*operations.ListBalancesResponse, error)
- func (s *Wallets) ListWallets(ctx context.Context, request operations.ListWalletsRequest, ...) (*operations.ListWalletsResponse, error)
- func (s *Wallets) UpdateWallet(ctx context.Context, request operations.UpdateWalletRequest, ...) (*operations.UpdateWalletResponse, error)
- func (s *Wallets) VoidHold(ctx context.Context, request operations.VoidHoldRequest, ...) (*operations.VoidHoldResponse, error)
- func (s *Wallets) WalletsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.WalletsgetServerInfoResponse, error)
- type Webhooks
- func (s *Webhooks) ActivateConfig(ctx context.Context, request operations.ActivateConfigRequest, ...) (*operations.ActivateConfigResponse, error)
- func (s *Webhooks) ChangeConfigSecret(ctx context.Context, request operations.ChangeConfigSecretRequest, ...) (*operations.ChangeConfigSecretResponse, error)
- func (s *Webhooks) DeactivateConfig(ctx context.Context, request operations.DeactivateConfigRequest, ...) (*operations.DeactivateConfigResponse, error)
- func (s *Webhooks) DeleteConfig(ctx context.Context, request operations.DeleteConfigRequest, ...) (*operations.DeleteConfigResponse, error)
- func (s *Webhooks) GetManyConfigs(ctx context.Context, request operations.GetManyConfigsRequest, ...) (*operations.GetManyConfigsResponse, error)
- func (s *Webhooks) InsertConfig(ctx context.Context, request shared.ConfigUser, opts ...operations.Option) (*operations.InsertConfigResponse, error)
- func (s *Webhooks) TestConfig(ctx context.Context, request operations.TestConfigRequest, ...) (*operations.TestConfigResponse, error)
Constants ΒΆ
This section is empty.
Variables ΒΆ
var ServerList = []string{
"http://localhost",
}
ServerList contains the list of servers available to the SDK
Functions ΒΆ
Types ΒΆ
type Auth ΒΆ
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) CreateClient ΒΆ
func (s *Auth) CreateClient(ctx context.Context, request *shared.CreateClientRequest, opts ...operations.Option) (*operations.CreateClientResponse, error)
CreateClient - Create client
func (*Auth) CreateSecret ΒΆ
func (s *Auth) CreateSecret(ctx context.Context, request operations.CreateSecretRequest, opts ...operations.Option) (*operations.CreateSecretResponse, error)
CreateSecret - Add a secret to a client
func (*Auth) DeleteClient ΒΆ
func (s *Auth) DeleteClient(ctx context.Context, request operations.DeleteClientRequest, opts ...operations.Option) (*operations.DeleteClientResponse, error)
DeleteClient - Delete client
func (*Auth) DeleteSecret ΒΆ
func (s *Auth) DeleteSecret(ctx context.Context, request operations.DeleteSecretRequest, opts ...operations.Option) (*operations.DeleteSecretResponse, error)
DeleteSecret - Delete a secret from a client
func (*Auth) ListClients ΒΆ
func (s *Auth) ListClients(ctx context.Context, opts ...operations.Option) (*operations.ListClientsResponse, error)
ListClients - List clients
func (*Auth) ListUsers ΒΆ
func (s *Auth) ListUsers(ctx context.Context, opts ...operations.Option) (*operations.ListUsersResponse, error)
ListUsers - List users List users
func (*Auth) ReadClient ΒΆ
func (s *Auth) ReadClient(ctx context.Context, request operations.ReadClientRequest, opts ...operations.Option) (*operations.ReadClientResponse, error)
ReadClient - Read client
func (*Auth) ReadUser ΒΆ
func (s *Auth) ReadUser(ctx context.Context, request operations.ReadUserRequest, opts ...operations.Option) (*operations.ReadUserResponse, error)
ReadUser - Read user Read user
func (*Auth) UpdateClient ΒΆ
func (s *Auth) UpdateClient(ctx context.Context, request operations.UpdateClientRequest, opts ...operations.Option) (*operations.UpdateClientResponse, error)
UpdateClient - Update client
type Formance ΒΆ
type Formance struct { Auth *Auth Ledger *Ledger Orchestration *Orchestration Payments *Payments Reconciliation *Reconciliation Search *Search Wallets *Wallets Webhooks *Webhooks // contains filtered or unexported fields }
Formance Stack API: Open, modular foundation for unique payments flows
# Introduction This API is documented in **OpenAPI format**.
# Authentication Formance Stack offers one forms of authentication:
- OAuth2
OAuth2 - an open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications. <SecurityDefinitions />
func (*Formance) GetOIDCWellKnowns ΒΆ added in v2.1.3
func (s *Formance) GetOIDCWellKnowns(ctx context.Context, opts ...operations.Option) (*operations.GetOIDCWellKnownsResponse, error)
GetOIDCWellKnowns - Retrieve OpenID connect well-knowns.
func (*Formance) GetVersions ΒΆ
func (s *Formance) GetVersions(ctx context.Context, opts ...operations.Option) (*operations.GetVersionsResponse, error)
GetVersions - Show stack version information
type HTTPClient ΒΆ
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type Ledger ΒΆ
type Ledger struct {
// contains filtered or unexported fields
}
func (*Ledger) AddMetadataOnTransaction ΒΆ
func (s *Ledger) AddMetadataOnTransaction(ctx context.Context, request operations.AddMetadataOnTransactionRequest, opts ...operations.Option) (*operations.AddMetadataOnTransactionResponse, error)
AddMetadataOnTransaction - Set the metadata of a transaction by its ID
func (*Ledger) AddMetadataToAccount ΒΆ
func (s *Ledger) AddMetadataToAccount(ctx context.Context, request operations.AddMetadataToAccountRequest, opts ...operations.Option) (*operations.AddMetadataToAccountResponse, error)
AddMetadataToAccount - Add metadata to an account
func (*Ledger) CountAccounts ΒΆ
func (s *Ledger) CountAccounts(ctx context.Context, request operations.CountAccountsRequest, opts ...operations.Option) (*operations.CountAccountsResponse, error)
CountAccounts - Count the accounts from a ledger
func (*Ledger) CountTransactions ΒΆ
func (s *Ledger) CountTransactions(ctx context.Context, request operations.CountTransactionsRequest, opts ...operations.Option) (*operations.CountTransactionsResponse, error)
CountTransactions - Count the transactions from a ledger
func (*Ledger) CreateTransaction ΒΆ
func (s *Ledger) CreateTransaction(ctx context.Context, request operations.CreateTransactionRequest, opts ...operations.Option) (*operations.CreateTransactionResponse, error)
CreateTransaction - Create a new transaction to a ledger
func (*Ledger) CreateTransactions ΒΆ
func (s *Ledger) CreateTransactions(ctx context.Context, request operations.CreateTransactionsRequest, opts ...operations.Option) (*operations.CreateTransactionsResponse, error)
CreateTransactions - Create a new batch of transactions to a ledger
func (*Ledger) GetAccount ΒΆ
func (s *Ledger) GetAccount(ctx context.Context, request operations.GetAccountRequest, opts ...operations.Option) (*operations.GetAccountResponse, error)
GetAccount - Get account by its address
func (*Ledger) GetBalances ΒΆ
func (s *Ledger) GetBalances(ctx context.Context, request operations.GetBalancesRequest, opts ...operations.Option) (*operations.GetBalancesResponse, error)
GetBalances - Get the balances from a ledger's account
func (*Ledger) GetBalancesAggregated ΒΆ
func (s *Ledger) GetBalancesAggregated(ctx context.Context, request operations.GetBalancesAggregatedRequest, opts ...operations.Option) (*operations.GetBalancesAggregatedResponse, error)
GetBalancesAggregated - Get the aggregated balances from selected accounts
func (*Ledger) GetInfo ΒΆ
func (s *Ledger) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.GetInfoResponse, error)
GetInfo - Show server information
func (*Ledger) GetLedgerInfo ΒΆ
func (s *Ledger) GetLedgerInfo(ctx context.Context, request operations.GetLedgerInfoRequest, opts ...operations.Option) (*operations.GetLedgerInfoResponse, error)
GetLedgerInfo - Get information about a ledger
func (*Ledger) GetMapping ΒΆ
func (s *Ledger) GetMapping(ctx context.Context, request operations.GetMappingRequest, opts ...operations.Option) (*operations.GetMappingResponse, error)
GetMapping - Get the mapping of a ledger
func (*Ledger) GetTransaction ΒΆ
func (s *Ledger) GetTransaction(ctx context.Context, request operations.GetTransactionRequest, opts ...operations.Option) (*operations.GetTransactionResponse, error)
GetTransaction - Get transaction from a ledger by its ID
func (*Ledger) ListAccounts ΒΆ
func (s *Ledger) ListAccounts(ctx context.Context, request operations.ListAccountsRequest, opts ...operations.Option) (*operations.ListAccountsResponse, error)
ListAccounts - List accounts from a ledger List accounts from a ledger, sorted by address in descending order.
func (*Ledger) ListLogs ΒΆ
func (s *Ledger) ListLogs(ctx context.Context, request operations.ListLogsRequest, opts ...operations.Option) (*operations.ListLogsResponse, error)
ListLogs - List the logs from a ledger List the logs from a ledger, sorted by ID in descending order.
func (*Ledger) ListTransactions ΒΆ
func (s *Ledger) ListTransactions(ctx context.Context, request operations.ListTransactionsRequest, opts ...operations.Option) (*operations.ListTransactionsResponse, error)
ListTransactions - List transactions from a ledger List transactions from a ledger, sorted by txid in descending order.
func (*Ledger) ReadStats ΒΆ
func (s *Ledger) ReadStats(ctx context.Context, request operations.ReadStatsRequest, opts ...operations.Option) (*operations.ReadStatsResponse, error)
ReadStats - Get statistics from a ledger Get statistics from a ledger. (aggregate metrics on accounts and transactions)
func (*Ledger) RevertTransaction ΒΆ
func (s *Ledger) RevertTransaction(ctx context.Context, request operations.RevertTransactionRequest, opts ...operations.Option) (*operations.RevertTransactionResponse, error)
RevertTransaction - Revert a ledger transaction by its ID
func (*Ledger) RunScript ΒΆ
func (s *Ledger) RunScript(ctx context.Context, request operations.RunScriptRequest, opts ...operations.Option) (*operations.RunScriptResponse, error)
RunScript - Execute a Numscript This route is deprecated, and has been merged into `POST /{ledger}/transactions`.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Ledger) UpdateMapping ΒΆ
func (s *Ledger) UpdateMapping(ctx context.Context, request operations.UpdateMappingRequest, opts ...operations.Option) (*operations.UpdateMappingResponse, error)
UpdateMapping - Update the mapping of a ledger
func (*Ledger) V2AddMetadataOnTransaction ΒΆ
func (s *Ledger) V2AddMetadataOnTransaction(ctx context.Context, request operations.V2AddMetadataOnTransactionRequest, opts ...operations.Option) (*operations.V2AddMetadataOnTransactionResponse, error)
V2AddMetadataOnTransaction - Set the metadata of a transaction by its ID
func (*Ledger) V2AddMetadataToAccount ΒΆ
func (s *Ledger) V2AddMetadataToAccount(ctx context.Context, request operations.V2AddMetadataToAccountRequest, opts ...operations.Option) (*operations.V2AddMetadataToAccountResponse, error)
V2AddMetadataToAccount - Add metadata to an account
func (*Ledger) V2CountAccounts ΒΆ
func (s *Ledger) V2CountAccounts(ctx context.Context, request operations.V2CountAccountsRequest, opts ...operations.Option) (*operations.V2CountAccountsResponse, error)
V2CountAccounts - Count the accounts from a ledger
func (*Ledger) V2CountTransactions ΒΆ
func (s *Ledger) V2CountTransactions(ctx context.Context, request operations.V2CountTransactionsRequest, opts ...operations.Option) (*operations.V2CountTransactionsResponse, error)
V2CountTransactions - Count the transactions from a ledger
func (*Ledger) V2CreateBulk ΒΆ
func (s *Ledger) V2CreateBulk(ctx context.Context, request operations.V2CreateBulkRequest, opts ...operations.Option) (*operations.V2CreateBulkResponse, error)
V2CreateBulk - Bulk request
func (*Ledger) V2CreateLedger ΒΆ
func (s *Ledger) V2CreateLedger(ctx context.Context, request operations.V2CreateLedgerRequest, opts ...operations.Option) (*operations.V2CreateLedgerResponse, error)
V2CreateLedger - Create a ledger
func (*Ledger) V2CreateTransaction ΒΆ
func (s *Ledger) V2CreateTransaction(ctx context.Context, request operations.V2CreateTransactionRequest, opts ...operations.Option) (*operations.V2CreateTransactionResponse, error)
V2CreateTransaction - Create a new transaction to a ledger
func (*Ledger) V2DeleteAccountMetadata ΒΆ
func (s *Ledger) V2DeleteAccountMetadata(ctx context.Context, request operations.V2DeleteAccountMetadataRequest, opts ...operations.Option) (*operations.V2DeleteAccountMetadataResponse, error)
V2DeleteAccountMetadata - Delete metadata by key Delete metadata by key
func (*Ledger) V2DeleteLedgerMetadata ΒΆ added in v2.1.3
func (s *Ledger) V2DeleteLedgerMetadata(ctx context.Context, request operations.V2DeleteLedgerMetadataRequest, opts ...operations.Option) (*operations.V2DeleteLedgerMetadataResponse, error)
V2DeleteLedgerMetadata - Delete ledger metadata by key
func (*Ledger) V2DeleteTransactionMetadata ΒΆ
func (s *Ledger) V2DeleteTransactionMetadata(ctx context.Context, request operations.V2DeleteTransactionMetadataRequest, opts ...operations.Option) (*operations.V2DeleteTransactionMetadataResponse, error)
V2DeleteTransactionMetadata - Delete metadata by key Delete metadata by key
func (*Ledger) V2GetAccount ΒΆ
func (s *Ledger) V2GetAccount(ctx context.Context, request operations.V2GetAccountRequest, opts ...operations.Option) (*operations.V2GetAccountResponse, error)
V2GetAccount - Get account by its address
func (*Ledger) V2GetBalancesAggregated ΒΆ
func (s *Ledger) V2GetBalancesAggregated(ctx context.Context, request operations.V2GetBalancesAggregatedRequest, opts ...operations.Option) (*operations.V2GetBalancesAggregatedResponse, error)
V2GetBalancesAggregated - Get the aggregated balances from selected accounts
func (*Ledger) V2GetInfo ΒΆ
func (s *Ledger) V2GetInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetInfoResponse, error)
V2GetInfo - Show server information
func (*Ledger) V2GetLedger ΒΆ
func (s *Ledger) V2GetLedger(ctx context.Context, request operations.V2GetLedgerRequest, opts ...operations.Option) (*operations.V2GetLedgerResponse, error)
V2GetLedger - Get a ledger
func (*Ledger) V2GetLedgerInfo ΒΆ
func (s *Ledger) V2GetLedgerInfo(ctx context.Context, request operations.V2GetLedgerInfoRequest, opts ...operations.Option) (*operations.V2GetLedgerInfoResponse, error)
V2GetLedgerInfo - Get information about a ledger
func (*Ledger) V2GetTransaction ΒΆ
func (s *Ledger) V2GetTransaction(ctx context.Context, request operations.V2GetTransactionRequest, opts ...operations.Option) (*operations.V2GetTransactionResponse, error)
V2GetTransaction - Get transaction from a ledger by its ID
func (*Ledger) V2GetVolumesWithBalances ΒΆ added in v2.1.4
func (s *Ledger) V2GetVolumesWithBalances(ctx context.Context, request operations.V2GetVolumesWithBalancesRequest, opts ...operations.Option) (*operations.V2GetVolumesWithBalancesResponse, error)
V2GetVolumesWithBalances - Get list of volumes with balances for (account/asset)
func (*Ledger) V2ListAccounts ΒΆ
func (s *Ledger) V2ListAccounts(ctx context.Context, request operations.V2ListAccountsRequest, opts ...operations.Option) (*operations.V2ListAccountsResponse, error)
V2ListAccounts - List accounts from a ledger List accounts from a ledger, sorted by address in descending order.
func (*Ledger) V2ListLedgers ΒΆ
func (s *Ledger) V2ListLedgers(ctx context.Context, request operations.V2ListLedgersRequest, opts ...operations.Option) (*operations.V2ListLedgersResponse, error)
V2ListLedgers - List ledgers
func (*Ledger) V2ListLogs ΒΆ
func (s *Ledger) V2ListLogs(ctx context.Context, request operations.V2ListLogsRequest, opts ...operations.Option) (*operations.V2ListLogsResponse, error)
V2ListLogs - List the logs from a ledger List the logs from a ledger, sorted by ID in descending order.
func (*Ledger) V2ListTransactions ΒΆ
func (s *Ledger) V2ListTransactions(ctx context.Context, request operations.V2ListTransactionsRequest, opts ...operations.Option) (*operations.V2ListTransactionsResponse, error)
V2ListTransactions - List transactions from a ledger List transactions from a ledger, sorted by id in descending order.
func (*Ledger) V2ReadStats ΒΆ
func (s *Ledger) V2ReadStats(ctx context.Context, request operations.V2ReadStatsRequest, opts ...operations.Option) (*operations.V2ReadStatsResponse, error)
V2ReadStats - Get statistics from a ledger Get statistics from a ledger. (aggregate metrics on accounts and transactions)
func (*Ledger) V2RevertTransaction ΒΆ
func (s *Ledger) V2RevertTransaction(ctx context.Context, request operations.V2RevertTransactionRequest, opts ...operations.Option) (*operations.V2RevertTransactionResponse, error)
V2RevertTransaction - Revert a ledger transaction by its ID
func (*Ledger) V2UpdateLedgerMetadata ΒΆ added in v2.1.3
func (s *Ledger) V2UpdateLedgerMetadata(ctx context.Context, request operations.V2UpdateLedgerMetadataRequest, opts ...operations.Option) (*operations.V2UpdateLedgerMetadataResponse, error)
V2UpdateLedgerMetadata - Update ledger metadata
type Orchestration ΒΆ
type Orchestration struct {
// contains filtered or unexported fields
}
func (*Orchestration) CancelEvent ΒΆ
func (s *Orchestration) CancelEvent(ctx context.Context, request operations.CancelEventRequest, opts ...operations.Option) (*operations.CancelEventResponse, error)
CancelEvent - Cancel a running workflow Cancel a running workflow
func (*Orchestration) CreateTrigger ΒΆ
func (s *Orchestration) CreateTrigger(ctx context.Context, request *shared.TriggerData, opts ...operations.Option) (*operations.CreateTriggerResponse, error)
CreateTrigger - Create trigger Create trigger
func (*Orchestration) CreateWorkflow ΒΆ
func (s *Orchestration) CreateWorkflow(ctx context.Context, request *shared.CreateWorkflowRequest, opts ...operations.Option) (*operations.CreateWorkflowResponse, error)
CreateWorkflow - Create workflow Create a workflow
func (*Orchestration) DeleteTrigger ΒΆ
func (s *Orchestration) DeleteTrigger(ctx context.Context, request operations.DeleteTriggerRequest, opts ...operations.Option) (*operations.DeleteTriggerResponse, error)
DeleteTrigger - Delete trigger Read trigger
func (*Orchestration) DeleteWorkflow ΒΆ
func (s *Orchestration) DeleteWorkflow(ctx context.Context, request operations.DeleteWorkflowRequest, opts ...operations.Option) (*operations.DeleteWorkflowResponse, error)
DeleteWorkflow - Delete a flow by id Delete a flow by id
func (*Orchestration) GetInstance ΒΆ
func (s *Orchestration) GetInstance(ctx context.Context, request operations.GetInstanceRequest, opts ...operations.Option) (*operations.GetInstanceResponse, error)
GetInstance - Get a workflow instance by id Get a workflow instance by id
func (*Orchestration) GetInstanceHistory ΒΆ
func (s *Orchestration) GetInstanceHistory(ctx context.Context, request operations.GetInstanceHistoryRequest, opts ...operations.Option) (*operations.GetInstanceHistoryResponse, error)
GetInstanceHistory - Get a workflow instance history by id Get a workflow instance history by id
func (*Orchestration) GetInstanceStageHistory ΒΆ
func (s *Orchestration) GetInstanceStageHistory(ctx context.Context, request operations.GetInstanceStageHistoryRequest, opts ...operations.Option) (*operations.GetInstanceStageHistoryResponse, error)
GetInstanceStageHistory - Get a workflow instance stage history Get a workflow instance stage history
func (*Orchestration) GetWorkflow ΒΆ
func (s *Orchestration) GetWorkflow(ctx context.Context, request operations.GetWorkflowRequest, opts ...operations.Option) (*operations.GetWorkflowResponse, error)
GetWorkflow - Get a flow by id Get a flow by id
func (*Orchestration) ListInstances ΒΆ
func (s *Orchestration) ListInstances(ctx context.Context, request operations.ListInstancesRequest, opts ...operations.Option) (*operations.ListInstancesResponse, error)
ListInstances - List instances of a workflow List instances of a workflow
func (*Orchestration) ListTriggers ΒΆ
func (s *Orchestration) ListTriggers(ctx context.Context, request operations.ListTriggersRequest, opts ...operations.Option) (*operations.ListTriggersResponse, error)
ListTriggers - List triggers List triggers
func (*Orchestration) ListTriggersOccurrences ΒΆ
func (s *Orchestration) ListTriggersOccurrences(ctx context.Context, request operations.ListTriggersOccurrencesRequest, opts ...operations.Option) (*operations.ListTriggersOccurrencesResponse, error)
ListTriggersOccurrences - List triggers occurrences List triggers occurrences
func (*Orchestration) ListWorkflows ΒΆ
func (s *Orchestration) ListWorkflows(ctx context.Context, opts ...operations.Option) (*operations.ListWorkflowsResponse, error)
ListWorkflows - List registered workflows List registered workflows
func (*Orchestration) OrchestrationgetServerInfo ΒΆ
func (s *Orchestration) OrchestrationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.OrchestrationgetServerInfoResponse, error)
OrchestrationgetServerInfo - Get server info
func (*Orchestration) ReadTrigger ΒΆ
func (s *Orchestration) ReadTrigger(ctx context.Context, request operations.ReadTriggerRequest, opts ...operations.Option) (*operations.ReadTriggerResponse, error)
ReadTrigger - Read trigger Read trigger
func (*Orchestration) RunWorkflow ΒΆ
func (s *Orchestration) RunWorkflow(ctx context.Context, request operations.RunWorkflowRequest, opts ...operations.Option) (*operations.RunWorkflowResponse, error)
RunWorkflow - Run workflow Run workflow
func (*Orchestration) SendEvent ΒΆ
func (s *Orchestration) SendEvent(ctx context.Context, request operations.SendEventRequest, opts ...operations.Option) (*operations.SendEventResponse, error)
SendEvent - Send an event to a running workflow Send an event to a running workflow
func (*Orchestration) TestTrigger ΒΆ
func (s *Orchestration) TestTrigger(ctx context.Context, request operations.TestTriggerRequest, opts ...operations.Option) (*operations.TestTriggerResponse, error)
TestTrigger - Test trigger Test trigger
func (*Orchestration) V2CancelEvent ΒΆ
func (s *Orchestration) V2CancelEvent(ctx context.Context, request operations.V2CancelEventRequest, opts ...operations.Option) (*operations.V2CancelEventResponse, error)
V2CancelEvent - Cancel a running workflow Cancel a running workflow
func (*Orchestration) V2CreateTrigger ΒΆ
func (s *Orchestration) V2CreateTrigger(ctx context.Context, request *shared.V2TriggerData, opts ...operations.Option) (*operations.V2CreateTriggerResponse, error)
V2CreateTrigger - Create trigger Create trigger
func (*Orchestration) V2CreateWorkflow ΒΆ
func (s *Orchestration) V2CreateWorkflow(ctx context.Context, request *shared.V2CreateWorkflowRequest, opts ...operations.Option) (*operations.V2CreateWorkflowResponse, error)
V2CreateWorkflow - Create workflow Create a workflow
func (*Orchestration) V2DeleteTrigger ΒΆ
func (s *Orchestration) V2DeleteTrigger(ctx context.Context, request operations.V2DeleteTriggerRequest, opts ...operations.Option) (*operations.V2DeleteTriggerResponse, error)
V2DeleteTrigger - Delete trigger Read trigger
func (*Orchestration) V2DeleteWorkflow ΒΆ
func (s *Orchestration) V2DeleteWorkflow(ctx context.Context, request operations.V2DeleteWorkflowRequest, opts ...operations.Option) (*operations.V2DeleteWorkflowResponse, error)
V2DeleteWorkflow - Delete a flow by id Delete a flow by id
func (*Orchestration) V2GetInstance ΒΆ
func (s *Orchestration) V2GetInstance(ctx context.Context, request operations.V2GetInstanceRequest, opts ...operations.Option) (*operations.V2GetInstanceResponse, error)
V2GetInstance - Get a workflow instance by id Get a workflow instance by id
func (*Orchestration) V2GetInstanceHistory ΒΆ
func (s *Orchestration) V2GetInstanceHistory(ctx context.Context, request operations.V2GetInstanceHistoryRequest, opts ...operations.Option) (*operations.V2GetInstanceHistoryResponse, error)
V2GetInstanceHistory - Get a workflow instance history by id Get a workflow instance history by id
func (*Orchestration) V2GetInstanceStageHistory ΒΆ
func (s *Orchestration) V2GetInstanceStageHistory(ctx context.Context, request operations.V2GetInstanceStageHistoryRequest, opts ...operations.Option) (*operations.V2GetInstanceStageHistoryResponse, error)
V2GetInstanceStageHistory - Get a workflow instance stage history Get a workflow instance stage history
func (*Orchestration) V2GetServerInfo ΒΆ
func (s *Orchestration) V2GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetServerInfoResponse, error)
V2GetServerInfo - Get server info
func (*Orchestration) V2GetWorkflow ΒΆ
func (s *Orchestration) V2GetWorkflow(ctx context.Context, request operations.V2GetWorkflowRequest, opts ...operations.Option) (*operations.V2GetWorkflowResponse, error)
V2GetWorkflow - Get a flow by id Get a flow by id
func (*Orchestration) V2ListInstances ΒΆ
func (s *Orchestration) V2ListInstances(ctx context.Context, request operations.V2ListInstancesRequest, opts ...operations.Option) (*operations.V2ListInstancesResponse, error)
V2ListInstances - List instances of a workflow List instances of a workflow
func (*Orchestration) V2ListTriggers ΒΆ
func (s *Orchestration) V2ListTriggers(ctx context.Context, request operations.V2ListTriggersRequest, opts ...operations.Option) (*operations.V2ListTriggersResponse, error)
V2ListTriggers - List triggers List triggers
func (*Orchestration) V2ListTriggersOccurrences ΒΆ
func (s *Orchestration) V2ListTriggersOccurrences(ctx context.Context, request operations.V2ListTriggersOccurrencesRequest, opts ...operations.Option) (*operations.V2ListTriggersOccurrencesResponse, error)
V2ListTriggersOccurrences - List triggers occurrences List triggers occurrences
func (*Orchestration) V2ListWorkflows ΒΆ
func (s *Orchestration) V2ListWorkflows(ctx context.Context, request operations.V2ListWorkflowsRequest, opts ...operations.Option) (*operations.V2ListWorkflowsResponse, error)
V2ListWorkflows - List registered workflows List registered workflows
func (*Orchestration) V2ReadTrigger ΒΆ
func (s *Orchestration) V2ReadTrigger(ctx context.Context, request operations.V2ReadTriggerRequest, opts ...operations.Option) (*operations.V2ReadTriggerResponse, error)
V2ReadTrigger - Read trigger Read trigger
func (*Orchestration) V2RunWorkflow ΒΆ
func (s *Orchestration) V2RunWorkflow(ctx context.Context, request operations.V2RunWorkflowRequest, opts ...operations.Option) (*operations.V2RunWorkflowResponse, error)
V2RunWorkflow - Run workflow Run workflow
func (*Orchestration) V2SendEvent ΒΆ
func (s *Orchestration) V2SendEvent(ctx context.Context, request operations.V2SendEventRequest, opts ...operations.Option) (*operations.V2SendEventResponse, error)
V2SendEvent - Send an event to a running workflow Send an event to a running workflow
type Payments ΒΆ
type Payments struct {
// contains filtered or unexported fields
}
func (*Payments) AddAccountToPool ΒΆ
func (s *Payments) AddAccountToPool(ctx context.Context, request operations.AddAccountToPoolRequest, opts ...operations.Option) (*operations.AddAccountToPoolResponse, error)
AddAccountToPool - Add an account to a pool Add an account to a pool
func (*Payments) ConnectorsTransfer ΒΆ
func (s *Payments) ConnectorsTransfer(ctx context.Context, request operations.ConnectorsTransferRequest, opts ...operations.Option) (*operations.ConnectorsTransferResponse, error)
ConnectorsTransfer - Transfer funds between Connector accounts Execute a transfer between two accounts.
func (*Payments) CreateAccount ΒΆ added in v2.1.5
func (s *Payments) CreateAccount(ctx context.Context, request shared.AccountRequest, opts ...operations.Option) (*operations.CreateAccountResponse, error)
CreateAccount - Create an account Create an account
func (*Payments) CreateBankAccount ΒΆ
func (s *Payments) CreateBankAccount(ctx context.Context, request shared.BankAccountRequest, opts ...operations.Option) (*operations.CreateBankAccountResponse, error)
CreateBankAccount - Create a BankAccount in Payments and on the PSP Create a bank account in Payments and on the PSP.
func (*Payments) CreatePayment ΒΆ
func (s *Payments) CreatePayment(ctx context.Context, request shared.PaymentRequest, opts ...operations.Option) (*operations.CreatePaymentResponse, error)
CreatePayment - Create a payment Create a payment
func (*Payments) CreatePool ΒΆ
func (s *Payments) CreatePool(ctx context.Context, request shared.PoolRequest, opts ...operations.Option) (*operations.CreatePoolResponse, error)
CreatePool - Create a Pool Create a Pool
func (*Payments) CreateTransferInitiation ΒΆ
func (s *Payments) CreateTransferInitiation(ctx context.Context, request shared.TransferInitiationRequest, opts ...operations.Option) (*operations.CreateTransferInitiationResponse, error)
CreateTransferInitiation - Create a TransferInitiation Create a transfer initiation
func (*Payments) DeletePool ΒΆ
func (s *Payments) DeletePool(ctx context.Context, request operations.DeletePoolRequest, opts ...operations.Option) (*operations.DeletePoolResponse, error)
DeletePool - Delete a Pool Delete a pool by its id.
func (*Payments) DeleteTransferInitiation ΒΆ
func (s *Payments) DeleteTransferInitiation(ctx context.Context, request operations.DeleteTransferInitiationRequest, opts ...operations.Option) (*operations.DeleteTransferInitiationResponse, error)
DeleteTransferInitiation - Delete a transfer initiation Delete a transfer initiation by its id.
func (*Payments) ForwardBankAccount ΒΆ
func (s *Payments) ForwardBankAccount(ctx context.Context, request operations.ForwardBankAccountRequest, opts ...operations.Option) (*operations.ForwardBankAccountResponse, error)
ForwardBankAccount - Forward a bank account to a connector
func (*Payments) GetAccountBalances ΒΆ
func (s *Payments) GetAccountBalances(ctx context.Context, request operations.GetAccountBalancesRequest, opts ...operations.Option) (*operations.GetAccountBalancesResponse, error)
GetAccountBalances - Get account balances
func (*Payments) GetBankAccount ΒΆ
func (s *Payments) GetBankAccount(ctx context.Context, request operations.GetBankAccountRequest, opts ...operations.Option) (*operations.GetBankAccountResponse, error)
GetBankAccount - Get a bank account created by user on Formance
func (*Payments) GetConnectorTask ΒΆ
func (s *Payments) GetConnectorTask(ctx context.Context, request operations.GetConnectorTaskRequest, opts ...operations.Option) (*operations.GetConnectorTaskResponse, error)
GetConnectorTask - Read a specific task of the connector Get a specific task associated to the connector.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Payments) GetConnectorTaskV1 ΒΆ
func (s *Payments) GetConnectorTaskV1(ctx context.Context, request operations.GetConnectorTaskV1Request, opts ...operations.Option) (*operations.GetConnectorTaskV1Response, error)
GetConnectorTaskV1 - Read a specific task of the connector Get a specific task associated to the connector.
func (*Payments) GetPayment ΒΆ
func (s *Payments) GetPayment(ctx context.Context, request operations.GetPaymentRequest, opts ...operations.Option) (*operations.GetPaymentResponse, error)
GetPayment - Get a payment
func (*Payments) GetPool ΒΆ
func (s *Payments) GetPool(ctx context.Context, request operations.GetPoolRequest, opts ...operations.Option) (*operations.GetPoolResponse, error)
GetPool - Get a Pool
func (*Payments) GetPoolBalances ΒΆ
func (s *Payments) GetPoolBalances(ctx context.Context, request operations.GetPoolBalancesRequest, opts ...operations.Option) (*operations.GetPoolBalancesResponse, error)
GetPoolBalances - Get pool balances
func (*Payments) GetTransferInitiation ΒΆ
func (s *Payments) GetTransferInitiation(ctx context.Context, request operations.GetTransferInitiationRequest, opts ...operations.Option) (*operations.GetTransferInitiationResponse, error)
GetTransferInitiation - Get a transfer initiation
func (*Payments) InstallConnector ΒΆ
func (s *Payments) InstallConnector(ctx context.Context, request operations.InstallConnectorRequest, opts ...operations.Option) (*operations.InstallConnectorResponse, error)
InstallConnector - Install a connector Install a connector by its name and config.
func (*Payments) ListAllConnectors ΒΆ
func (s *Payments) ListAllConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListAllConnectorsResponse, error)
ListAllConnectors - List all installed connectors List all installed connectors.
func (*Payments) ListBankAccounts ΒΆ
func (s *Payments) ListBankAccounts(ctx context.Context, request operations.ListBankAccountsRequest, opts ...operations.Option) (*operations.ListBankAccountsResponse, error)
ListBankAccounts - List bank accounts created by user on Formance List all bank accounts created by user on Formance.
func (*Payments) ListConfigsAvailableConnectors ΒΆ
func (s *Payments) ListConfigsAvailableConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListConfigsAvailableConnectorsResponse, error)
ListConfigsAvailableConnectors - List the configs of each available connector List the configs of each available connector.
func (*Payments) ListConnectorTasks ΒΆ
func (s *Payments) ListConnectorTasks(ctx context.Context, request operations.ListConnectorTasksRequest, opts ...operations.Option) (*operations.ListConnectorTasksResponse, error)
ListConnectorTasks - List tasks from a connector List all tasks associated with this connector.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Payments) ListConnectorTasksV1 ΒΆ
func (s *Payments) ListConnectorTasksV1(ctx context.Context, request operations.ListConnectorTasksV1Request, opts ...operations.Option) (*operations.ListConnectorTasksV1Response, error)
ListConnectorTasksV1 - List tasks from a connector List all tasks associated with this connector.
func (*Payments) ListPayments ΒΆ
func (s *Payments) ListPayments(ctx context.Context, request operations.ListPaymentsRequest, opts ...operations.Option) (*operations.ListPaymentsResponse, error)
ListPayments - List payments
func (*Payments) ListPools ΒΆ
func (s *Payments) ListPools(ctx context.Context, request operations.ListPoolsRequest, opts ...operations.Option) (*operations.ListPoolsResponse, error)
ListPools - List Pools
func (*Payments) ListTransferInitiations ΒΆ
func (s *Payments) ListTransferInitiations(ctx context.Context, request operations.ListTransferInitiationsRequest, opts ...operations.Option) (*operations.ListTransferInitiationsResponse, error)
ListTransferInitiations - List Transfer Initiations
func (*Payments) PaymentsgetAccount ΒΆ
func (s *Payments) PaymentsgetAccount(ctx context.Context, request operations.PaymentsgetAccountRequest, opts ...operations.Option) (*operations.PaymentsgetAccountResponse, error)
PaymentsgetAccount - Get an account
func (*Payments) PaymentsgetServerInfo ΒΆ
func (s *Payments) PaymentsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.PaymentsgetServerInfoResponse, error)
PaymentsgetServerInfo - Get server info
func (*Payments) PaymentslistAccounts ΒΆ
func (s *Payments) PaymentslistAccounts(ctx context.Context, request operations.PaymentslistAccountsRequest, opts ...operations.Option) (*operations.PaymentslistAccountsResponse, error)
PaymentslistAccounts - List accounts
func (*Payments) ReadConnectorConfig ΒΆ
func (s *Payments) ReadConnectorConfig(ctx context.Context, request operations.ReadConnectorConfigRequest, opts ...operations.Option) (*operations.ReadConnectorConfigResponse, error)
ReadConnectorConfig - Read the config of a connector Read connector config
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Payments) ReadConnectorConfigV1 ΒΆ
func (s *Payments) ReadConnectorConfigV1(ctx context.Context, request operations.ReadConnectorConfigV1Request, opts ...operations.Option) (*operations.ReadConnectorConfigV1Response, error)
ReadConnectorConfigV1 - Read the config of a connector Read connector config
func (*Payments) RemoveAccountFromPool ΒΆ
func (s *Payments) RemoveAccountFromPool(ctx context.Context, request operations.RemoveAccountFromPoolRequest, opts ...operations.Option) (*operations.RemoveAccountFromPoolResponse, error)
RemoveAccountFromPool - Remove an account from a pool Remove an account from a pool by its id.
func (*Payments) ResetConnector ΒΆ
func (s *Payments) ResetConnector(ctx context.Context, request operations.ResetConnectorRequest, opts ...operations.Option) (*operations.ResetConnectorResponse, error)
ResetConnector - Reset a connector Reset a connector by its name. It will remove the connector and ALL PAYMENTS generated with it.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Payments) ResetConnectorV1 ΒΆ
func (s *Payments) ResetConnectorV1(ctx context.Context, request operations.ResetConnectorV1Request, opts ...operations.Option) (*operations.ResetConnectorV1Response, error)
ResetConnectorV1 - Reset a connector Reset a connector by its name. It will remove the connector and ALL PAYMENTS generated with it.
func (*Payments) RetryTransferInitiation ΒΆ
func (s *Payments) RetryTransferInitiation(ctx context.Context, request operations.RetryTransferInitiationRequest, opts ...operations.Option) (*operations.RetryTransferInitiationResponse, error)
RetryTransferInitiation - Retry a failed transfer initiation Retry a failed transfer initiation
func (*Payments) ReverseTransferInitiation ΒΆ
func (s *Payments) ReverseTransferInitiation(ctx context.Context, request operations.ReverseTransferInitiationRequest, opts ...operations.Option) (*operations.ReverseTransferInitiationResponse, error)
ReverseTransferInitiation - Reverse a transfer initiation Reverse transfer initiation
func (*Payments) UdpateTransferInitiationStatus ΒΆ
func (s *Payments) UdpateTransferInitiationStatus(ctx context.Context, request operations.UdpateTransferInitiationStatusRequest, opts ...operations.Option) (*operations.UdpateTransferInitiationStatusResponse, error)
UdpateTransferInitiationStatus - Update the status of a transfer initiation Update a transfer initiation status
func (*Payments) UninstallConnector ΒΆ
func (s *Payments) UninstallConnector(ctx context.Context, request operations.UninstallConnectorRequest, opts ...operations.Option) (*operations.UninstallConnectorResponse, error)
UninstallConnector - Uninstall a connector Uninstall a connector by its name.
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*Payments) UninstallConnectorV1 ΒΆ
func (s *Payments) UninstallConnectorV1(ctx context.Context, request operations.UninstallConnectorV1Request, opts ...operations.Option) (*operations.UninstallConnectorV1Response, error)
UninstallConnectorV1 - Uninstall a connector Uninstall a connector by its name.
func (*Payments) UpdateBankAccountMetadata ΒΆ
func (s *Payments) UpdateBankAccountMetadata(ctx context.Context, request operations.UpdateBankAccountMetadataRequest, opts ...operations.Option) (*operations.UpdateBankAccountMetadataResponse, error)
UpdateBankAccountMetadata - Update metadata of a bank account
func (*Payments) UpdateConnectorConfigV1 ΒΆ
func (s *Payments) UpdateConnectorConfigV1(ctx context.Context, request operations.UpdateConnectorConfigV1Request, opts ...operations.Option) (*operations.UpdateConnectorConfigV1Response, error)
UpdateConnectorConfigV1 - Update the config of a connector Update connector config
func (*Payments) UpdateMetadata ΒΆ
func (s *Payments) UpdateMetadata(ctx context.Context, request operations.UpdateMetadataRequest, opts ...operations.Option) (*operations.UpdateMetadataResponse, error)
UpdateMetadata - Update metadata
type Reconciliation ΒΆ
type Reconciliation struct {
// contains filtered or unexported fields
}
func (*Reconciliation) CreatePolicy ΒΆ
func (s *Reconciliation) CreatePolicy(ctx context.Context, request shared.PolicyRequest, opts ...operations.Option) (*operations.CreatePolicyResponse, error)
CreatePolicy - Create a policy Create a policy
func (*Reconciliation) DeletePolicy ΒΆ
func (s *Reconciliation) DeletePolicy(ctx context.Context, request operations.DeletePolicyRequest, opts ...operations.Option) (*operations.DeletePolicyResponse, error)
DeletePolicy - Delete a policy Delete a policy by its id.
func (*Reconciliation) GetPolicy ΒΆ
func (s *Reconciliation) GetPolicy(ctx context.Context, request operations.GetPolicyRequest, opts ...operations.Option) (*operations.GetPolicyResponse, error)
GetPolicy - Get a policy
func (*Reconciliation) GetReconciliation ΒΆ
func (s *Reconciliation) GetReconciliation(ctx context.Context, request operations.GetReconciliationRequest, opts ...operations.Option) (*operations.GetReconciliationResponse, error)
GetReconciliation - Get a reconciliation
func (*Reconciliation) ListPolicies ΒΆ
func (s *Reconciliation) ListPolicies(ctx context.Context, request operations.ListPoliciesRequest, opts ...operations.Option) (*operations.ListPoliciesResponse, error)
ListPolicies - List policies
func (*Reconciliation) ListReconciliations ΒΆ
func (s *Reconciliation) ListReconciliations(ctx context.Context, request operations.ListReconciliationsRequest, opts ...operations.Option) (*operations.ListReconciliationsResponse, error)
ListReconciliations - List reconciliations
func (*Reconciliation) Reconcile ΒΆ
func (s *Reconciliation) Reconcile(ctx context.Context, request operations.ReconcileRequest, opts ...operations.Option) (*operations.ReconcileResponse, error)
Reconcile using a policy Reconcile using a policy
func (*Reconciliation) ReconciliationgetServerInfo ΒΆ
func (s *Reconciliation) ReconciliationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.ReconciliationgetServerInfoResponse, error)
ReconciliationgetServerInfo - Get server info
type SDKOption ΒΆ
type SDKOption func(*Formance)
func WithClient ΒΆ
func WithClient(client HTTPClient) SDKOption
WithClient allows the overriding of the default HTTP client used by the SDK
func WithRetryConfig ΒΆ
func WithSecurity ΒΆ
WithSecurity configures the SDK to use the provided security details
func WithSecuritySource ΒΆ
WithSecuritySource configures the SDK to invoke the Security Source function on each method call to determine authentication
func WithServerIndex ΒΆ
WithServerIndex allows the overriding of the default server by index
func WithServerURL ΒΆ
WithServerURL allows the overriding of the default server URL
func WithTemplatedServerURL ΒΆ
WithTemplatedServerURL allows the overriding of the default server URL with a templated URL populated with the provided parameters
func WithTimeout ΒΆ added in v2.3.0
WithTimeout Optional request timeout applied to each operation
type Search ΒΆ
type Search struct {
// contains filtered or unexported fields
}
func (*Search) Search ΒΆ
func (s *Search) Search(ctx context.Context, request shared.Query, opts ...operations.Option) (*operations.SearchResponse, error)
Search ElasticSearch query engine
func (*Search) SearchgetServerInfo ΒΆ
func (s *Search) SearchgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.SearchgetServerInfoResponse, error)
SearchgetServerInfo - Get server info
type Wallets ΒΆ
type Wallets struct {
// contains filtered or unexported fields
}
func (*Wallets) ConfirmHold ΒΆ
func (s *Wallets) ConfirmHold(ctx context.Context, request operations.ConfirmHoldRequest, opts ...operations.Option) (*operations.ConfirmHoldResponse, error)
ConfirmHold - Confirm a hold
func (*Wallets) CreateBalance ΒΆ
func (s *Wallets) CreateBalance(ctx context.Context, request operations.CreateBalanceRequest, opts ...operations.Option) (*operations.CreateBalanceResponse, error)
CreateBalance - Create a balance
func (*Wallets) CreateWallet ΒΆ
func (s *Wallets) CreateWallet(ctx context.Context, request *shared.CreateWalletRequest, opts ...operations.Option) (*operations.CreateWalletResponse, error)
CreateWallet - Create a new wallet
func (*Wallets) CreditWallet ΒΆ
func (s *Wallets) CreditWallet(ctx context.Context, request operations.CreditWalletRequest, opts ...operations.Option) (*operations.CreditWalletResponse, error)
CreditWallet - Credit a wallet
func (*Wallets) DebitWallet ΒΆ
func (s *Wallets) DebitWallet(ctx context.Context, request operations.DebitWalletRequest, opts ...operations.Option) (*operations.DebitWalletResponse, error)
DebitWallet - Debit a wallet
func (*Wallets) GetBalance ΒΆ
func (s *Wallets) GetBalance(ctx context.Context, request operations.GetBalanceRequest, opts ...operations.Option) (*operations.GetBalanceResponse, error)
GetBalance - Get detailed balance
func (*Wallets) GetHold ΒΆ
func (s *Wallets) GetHold(ctx context.Context, request operations.GetHoldRequest, opts ...operations.Option) (*operations.GetHoldResponse, error)
GetHold - Get a hold
func (*Wallets) GetHolds ΒΆ
func (s *Wallets) GetHolds(ctx context.Context, request operations.GetHoldsRequest, opts ...operations.Option) (*operations.GetHoldsResponse, error)
GetHolds - Get all holds for a wallet
func (*Wallets) GetTransactions ΒΆ
func (s *Wallets) GetTransactions(ctx context.Context, request operations.GetTransactionsRequest, opts ...operations.Option) (*operations.GetTransactionsResponse, error)
func (*Wallets) GetWallet ΒΆ
func (s *Wallets) GetWallet(ctx context.Context, request operations.GetWalletRequest, opts ...operations.Option) (*operations.GetWalletResponse, error)
GetWallet - Get a wallet
func (*Wallets) GetWalletSummary ΒΆ
func (s *Wallets) GetWalletSummary(ctx context.Context, request operations.GetWalletSummaryRequest, opts ...operations.Option) (*operations.GetWalletSummaryResponse, error)
GetWalletSummary - Get wallet summary
func (*Wallets) ListBalances ΒΆ
func (s *Wallets) ListBalances(ctx context.Context, request operations.ListBalancesRequest, opts ...operations.Option) (*operations.ListBalancesResponse, error)
ListBalances - List balances of a wallet
func (*Wallets) ListWallets ΒΆ
func (s *Wallets) ListWallets(ctx context.Context, request operations.ListWalletsRequest, opts ...operations.Option) (*operations.ListWalletsResponse, error)
ListWallets - List all wallets
func (*Wallets) UpdateWallet ΒΆ
func (s *Wallets) UpdateWallet(ctx context.Context, request operations.UpdateWalletRequest, opts ...operations.Option) (*operations.UpdateWalletResponse, error)
UpdateWallet - Update a wallet
func (*Wallets) VoidHold ΒΆ
func (s *Wallets) VoidHold(ctx context.Context, request operations.VoidHoldRequest, opts ...operations.Option) (*operations.VoidHoldResponse, error)
VoidHold - Cancel a hold
func (*Wallets) WalletsgetServerInfo ΒΆ
func (s *Wallets) WalletsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.WalletsgetServerInfoResponse, error)
WalletsgetServerInfo - Get server info
type Webhooks ΒΆ
type Webhooks struct {
// contains filtered or unexported fields
}
func (*Webhooks) ActivateConfig ΒΆ
func (s *Webhooks) ActivateConfig(ctx context.Context, request operations.ActivateConfigRequest, opts ...operations.Option) (*operations.ActivateConfigResponse, error)
ActivateConfig - Activate one config Activate a webhooks config by ID, to start receiving webhooks to its endpoint.
func (*Webhooks) ChangeConfigSecret ΒΆ
func (s *Webhooks) ChangeConfigSecret(ctx context.Context, request operations.ChangeConfigSecretRequest, opts ...operations.Option) (*operations.ChangeConfigSecretResponse, error)
ChangeConfigSecret - Change the signing secret of a config Change the signing secret of the endpoint of a webhooks config.
If not passed or empty, a secret is automatically generated. The format is a random string of bytes of size 24, base64 encoded. (larger size after encoding)
func (*Webhooks) DeactivateConfig ΒΆ
func (s *Webhooks) DeactivateConfig(ctx context.Context, request operations.DeactivateConfigRequest, opts ...operations.Option) (*operations.DeactivateConfigResponse, error)
DeactivateConfig - Deactivate one config Deactivate a webhooks config by ID, to stop receiving webhooks to its endpoint.
func (*Webhooks) DeleteConfig ΒΆ
func (s *Webhooks) DeleteConfig(ctx context.Context, request operations.DeleteConfigRequest, opts ...operations.Option) (*operations.DeleteConfigResponse, error)
DeleteConfig - Delete one config Delete a webhooks config by ID.
func (*Webhooks) GetManyConfigs ΒΆ
func (s *Webhooks) GetManyConfigs(ctx context.Context, request operations.GetManyConfigsRequest, opts ...operations.Option) (*operations.GetManyConfigsResponse, error)
GetManyConfigs - Get many configs Sorted by updated date descending
func (*Webhooks) InsertConfig ΒΆ
func (s *Webhooks) InsertConfig(ctx context.Context, request shared.ConfigUser, opts ...operations.Option) (*operations.InsertConfigResponse, error)
InsertConfig - Insert a new config Insert a new webhooks config.
The endpoint should be a valid https URL and be unique.
The secret is the endpoint's verification secret. If not passed or empty, a secret is automatically generated. The format is a random string of bytes of size 24, base64 encoded. (larger size after encoding)
All eventTypes are converted to lower-case when inserted.
func (*Webhooks) TestConfig ΒΆ
func (s *Webhooks) TestConfig(ctx context.Context, request operations.TestConfigRequest, opts ...operations.Option) (*operations.TestConfigResponse, error)
TestConfig - Test one config Test a config by sending a webhook to its endpoint.