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 Pointer[T any](v T) *T
- func String(s string) *string
- type Auth
- type Formance
- type FormanceOrchestrationV1
- func (s *FormanceOrchestrationV1) CancelEvent(ctx context.Context, request operations.CancelEventRequest, ...) (*operations.CancelEventResponse, error)
- func (s *FormanceOrchestrationV1) CreateTrigger(ctx context.Context, request *shared.TriggerData, opts ...operations.Option) (*operations.CreateTriggerResponse, error)
- func (s *FormanceOrchestrationV1) CreateWorkflow(ctx context.Context, request *shared.CreateWorkflowRequest, ...) (*operations.CreateWorkflowResponse, error)
- func (s *FormanceOrchestrationV1) DeleteTrigger(ctx context.Context, request operations.DeleteTriggerRequest, ...) (*operations.DeleteTriggerResponse, error)
- func (s *FormanceOrchestrationV1) DeleteWorkflow(ctx context.Context, request operations.DeleteWorkflowRequest, ...) (*operations.DeleteWorkflowResponse, error)
- func (s *FormanceOrchestrationV1) GetInstance(ctx context.Context, request operations.GetInstanceRequest, ...) (*operations.GetInstanceResponse, error)
- func (s *FormanceOrchestrationV1) GetInstanceHistory(ctx context.Context, request operations.GetInstanceHistoryRequest, ...) (*operations.GetInstanceHistoryResponse, error)
- func (s *FormanceOrchestrationV1) GetInstanceStageHistory(ctx context.Context, request operations.GetInstanceStageHistoryRequest, ...) (*operations.GetInstanceStageHistoryResponse, error)
- func (s *FormanceOrchestrationV1) GetWorkflow(ctx context.Context, request operations.GetWorkflowRequest, ...) (*operations.GetWorkflowResponse, error)
- func (s *FormanceOrchestrationV1) ListInstances(ctx context.Context, request operations.ListInstancesRequest, ...) (*operations.ListInstancesResponse, error)
- func (s *FormanceOrchestrationV1) ListTriggers(ctx context.Context, request operations.ListTriggersRequest, ...) (*operations.ListTriggersResponse, error)
- func (s *FormanceOrchestrationV1) ListTriggersOccurrences(ctx context.Context, request operations.ListTriggersOccurrencesRequest, ...) (*operations.ListTriggersOccurrencesResponse, error)
- func (s *FormanceOrchestrationV1) ListWorkflows(ctx context.Context, opts ...operations.Option) (*operations.ListWorkflowsResponse, error)
- func (s *FormanceOrchestrationV1) OrchestrationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.OrchestrationgetServerInfoResponse, error)
- func (s *FormanceOrchestrationV1) ReadTrigger(ctx context.Context, request operations.ReadTriggerRequest, ...) (*operations.ReadTriggerResponse, error)
- func (s *FormanceOrchestrationV1) RunWorkflow(ctx context.Context, request operations.RunWorkflowRequest, ...) (*operations.RunWorkflowResponse, error)
- func (s *FormanceOrchestrationV1) SendEvent(ctx context.Context, request operations.SendEventRequest, ...) (*operations.SendEventResponse, error)
- type FormancePaymentsV1
- func (s *FormancePaymentsV1) AddAccountToPool(ctx context.Context, request operations.AddAccountToPoolRequest, ...) (*operations.AddAccountToPoolResponse, error)
- func (s *FormancePaymentsV1) ConnectorsTransfer(ctx context.Context, request operations.ConnectorsTransferRequest, ...) (*operations.ConnectorsTransferResponse, error)
- func (s *FormancePaymentsV1) CreateAccount(ctx context.Context, request shared.AccountRequest, opts ...operations.Option) (*operations.CreateAccountResponse, error)
- func (s *FormancePaymentsV1) CreateBankAccount(ctx context.Context, request shared.BankAccountRequest, ...) (*operations.CreateBankAccountResponse, error)
- func (s *FormancePaymentsV1) CreatePayment(ctx context.Context, request shared.PaymentRequest, opts ...operations.Option) (*operations.CreatePaymentResponse, error)
- func (s *FormancePaymentsV1) CreatePool(ctx context.Context, request shared.PoolRequest, opts ...operations.Option) (*operations.CreatePoolResponse, error)
- func (s *FormancePaymentsV1) CreateTransferInitiation(ctx context.Context, request shared.TransferInitiationRequest, ...) (*operations.CreateTransferInitiationResponse, error)
- func (s *FormancePaymentsV1) DeletePool(ctx context.Context, request operations.DeletePoolRequest, ...) (*operations.DeletePoolResponse, error)
- func (s *FormancePaymentsV1) DeleteTransferInitiation(ctx context.Context, request operations.DeleteTransferInitiationRequest, ...) (*operations.DeleteTransferInitiationResponse, error)
- func (s *FormancePaymentsV1) ForwardBankAccount(ctx context.Context, request operations.ForwardBankAccountRequest, ...) (*operations.ForwardBankAccountResponse, error)
- func (s *FormancePaymentsV1) GetAccountBalances(ctx context.Context, request operations.GetAccountBalancesRequest, ...) (*operations.GetAccountBalancesResponse, error)
- func (s *FormancePaymentsV1) GetBankAccount(ctx context.Context, request operations.GetBankAccountRequest, ...) (*operations.GetBankAccountResponse, error)
- func (s *FormancePaymentsV1) GetConnectorTask(ctx context.Context, request operations.GetConnectorTaskRequest, ...) (*operations.GetConnectorTaskResponse, error)
- func (s *FormancePaymentsV1) GetConnectorTaskV1(ctx context.Context, request operations.GetConnectorTaskV1Request, ...) (*operations.GetConnectorTaskV1Response, error)
- func (s *FormancePaymentsV1) GetPayment(ctx context.Context, request operations.GetPaymentRequest, ...) (*operations.GetPaymentResponse, error)
- func (s *FormancePaymentsV1) GetPool(ctx context.Context, request operations.GetPoolRequest, ...) (*operations.GetPoolResponse, error)
- func (s *FormancePaymentsV1) GetPoolBalances(ctx context.Context, request operations.GetPoolBalancesRequest, ...) (*operations.GetPoolBalancesResponse, error)
- func (s *FormancePaymentsV1) GetTransferInitiation(ctx context.Context, request operations.GetTransferInitiationRequest, ...) (*operations.GetTransferInitiationResponse, error)
- func (s *FormancePaymentsV1) InstallConnector(ctx context.Context, request operations.InstallConnectorRequest, ...) (*operations.InstallConnectorResponse, error)
- func (s *FormancePaymentsV1) ListAllConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListAllConnectorsResponse, error)
- func (s *FormancePaymentsV1) ListBankAccounts(ctx context.Context, request operations.ListBankAccountsRequest, ...) (*operations.ListBankAccountsResponse, error)
- func (s *FormancePaymentsV1) ListConfigsAvailableConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListConfigsAvailableConnectorsResponse, error)
- func (s *FormancePaymentsV1) ListConnectorTasks(ctx context.Context, request operations.ListConnectorTasksRequest, ...) (*operations.ListConnectorTasksResponse, error)
- func (s *FormancePaymentsV1) ListConnectorTasksV1(ctx context.Context, request operations.ListConnectorTasksV1Request, ...) (*operations.ListConnectorTasksV1Response, error)
- func (s *FormancePaymentsV1) ListPayments(ctx context.Context, request operations.ListPaymentsRequest, ...) (*operations.ListPaymentsResponse, error)
- func (s *FormancePaymentsV1) ListPools(ctx context.Context, request operations.ListPoolsRequest, ...) (*operations.ListPoolsResponse, error)
- func (s *FormancePaymentsV1) ListTransferInitiations(ctx context.Context, request operations.ListTransferInitiationsRequest, ...) (*operations.ListTransferInitiationsResponse, error)
- func (s *FormancePaymentsV1) PaymentsgetAccount(ctx context.Context, request operations.PaymentsgetAccountRequest, ...) (*operations.PaymentsgetAccountResponse, error)
- func (s *FormancePaymentsV1) PaymentsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.PaymentsgetServerInfoResponse, error)
- func (s *FormancePaymentsV1) PaymentslistAccounts(ctx context.Context, request operations.PaymentslistAccountsRequest, ...) (*operations.PaymentslistAccountsResponse, error)
- func (s *FormancePaymentsV1) ReadConnectorConfig(ctx context.Context, request operations.ReadConnectorConfigRequest, ...) (*operations.ReadConnectorConfigResponse, error)
- func (s *FormancePaymentsV1) ReadConnectorConfigV1(ctx context.Context, request operations.ReadConnectorConfigV1Request, ...) (*operations.ReadConnectorConfigV1Response, error)
- func (s *FormancePaymentsV1) RemoveAccountFromPool(ctx context.Context, request operations.RemoveAccountFromPoolRequest, ...) (*operations.RemoveAccountFromPoolResponse, error)
- func (s *FormancePaymentsV1) ResetConnector(ctx context.Context, request operations.ResetConnectorRequest, ...) (*operations.ResetConnectorResponse, error)
- func (s *FormancePaymentsV1) ResetConnectorV1(ctx context.Context, request operations.ResetConnectorV1Request, ...) (*operations.ResetConnectorV1Response, error)
- func (s *FormancePaymentsV1) RetryTransferInitiation(ctx context.Context, request operations.RetryTransferInitiationRequest, ...) (*operations.RetryTransferInitiationResponse, error)
- func (s *FormancePaymentsV1) ReverseTransferInitiation(ctx context.Context, request operations.ReverseTransferInitiationRequest, ...) (*operations.ReverseTransferInitiationResponse, error)
- func (s *FormancePaymentsV1) UdpateTransferInitiationStatus(ctx context.Context, request operations.UdpateTransferInitiationStatusRequest, ...) (*operations.UdpateTransferInitiationStatusResponse, error)
- func (s *FormancePaymentsV1) UninstallConnector(ctx context.Context, request operations.UninstallConnectorRequest, ...) (*operations.UninstallConnectorResponse, error)
- func (s *FormancePaymentsV1) UninstallConnectorV1(ctx context.Context, request operations.UninstallConnectorV1Request, ...) (*operations.UninstallConnectorV1Response, error)
- func (s *FormancePaymentsV1) UpdateBankAccountMetadata(ctx context.Context, request operations.UpdateBankAccountMetadataRequest, ...) (*operations.UpdateBankAccountMetadataResponse, error)
- func (s *FormancePaymentsV1) UpdateConnectorConfigV1(ctx context.Context, request operations.UpdateConnectorConfigV1Request, ...) (*operations.UpdateConnectorConfigV1Response, error)
- func (s *FormancePaymentsV1) UpdateMetadata(ctx context.Context, request operations.UpdateMetadataRequest, ...) (*operations.UpdateMetadataResponse, error)
- type FormanceReconciliationV1
- func (s *FormanceReconciliationV1) CreatePolicy(ctx context.Context, request shared.PolicyRequest, opts ...operations.Option) (*operations.CreatePolicyResponse, error)
- func (s *FormanceReconciliationV1) DeletePolicy(ctx context.Context, request operations.DeletePolicyRequest, ...) (*operations.DeletePolicyResponse, error)
- func (s *FormanceReconciliationV1) GetPolicy(ctx context.Context, request operations.GetPolicyRequest, ...) (*operations.GetPolicyResponse, error)
- func (s *FormanceReconciliationV1) GetReconciliation(ctx context.Context, request operations.GetReconciliationRequest, ...) (*operations.GetReconciliationResponse, error)
- func (s *FormanceReconciliationV1) ListPolicies(ctx context.Context, request operations.ListPoliciesRequest, ...) (*operations.ListPoliciesResponse, error)
- func (s *FormanceReconciliationV1) ListReconciliations(ctx context.Context, request operations.ListReconciliationsRequest, ...) (*operations.ListReconciliationsResponse, error)
- func (s *FormanceReconciliationV1) Reconcile(ctx context.Context, request operations.ReconcileRequest, ...) (*operations.ReconcileResponse, error)
- func (s *FormanceReconciliationV1) ReconciliationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.ReconciliationgetServerInfoResponse, error)
- type FormanceSearchV1
- type FormanceV1
- func (s *FormanceV1) AddMetadataOnTransaction(ctx context.Context, request operations.AddMetadataOnTransactionRequest, ...) (*operations.AddMetadataOnTransactionResponse, error)
- func (s *FormanceV1) AddMetadataToAccount(ctx context.Context, request operations.AddMetadataToAccountRequest, ...) (*operations.AddMetadataToAccountResponse, error)
- func (s *FormanceV1) CountAccounts(ctx context.Context, request operations.CountAccountsRequest, ...) (*operations.CountAccountsResponse, error)
- func (s *FormanceV1) CountTransactions(ctx context.Context, request operations.CountTransactionsRequest, ...) (*operations.CountTransactionsResponse, error)
- func (s *FormanceV1) CreateTransaction(ctx context.Context, request operations.CreateTransactionRequest, ...) (*operations.CreateTransactionResponse, error)
- func (s *FormanceV1) CreateTransactions(ctx context.Context, request operations.CreateTransactionsRequest, ...) (*operations.CreateTransactionsResponse, error)
- func (s *FormanceV1) GetAccount(ctx context.Context, request operations.GetAccountRequest, ...) (*operations.GetAccountResponse, error)
- func (s *FormanceV1) GetBalances(ctx context.Context, request operations.GetBalancesRequest, ...) (*operations.GetBalancesResponse, error)
- func (s *FormanceV1) GetBalancesAggregated(ctx context.Context, request operations.GetBalancesAggregatedRequest, ...) (*operations.GetBalancesAggregatedResponse, error)
- func (s *FormanceV1) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.GetInfoResponse, error)
- func (s *FormanceV1) GetLedgerInfo(ctx context.Context, request operations.GetLedgerInfoRequest, ...) (*operations.GetLedgerInfoResponse, error)
- func (s *FormanceV1) GetMapping(ctx context.Context, request operations.GetMappingRequest, ...) (*operations.GetMappingResponse, error)
- func (s *FormanceV1) GetTransaction(ctx context.Context, request operations.GetTransactionRequest, ...) (*operations.GetTransactionResponse, error)
- func (s *FormanceV1) ListAccounts(ctx context.Context, request operations.ListAccountsRequest, ...) (*operations.ListAccountsResponse, error)
- func (s *FormanceV1) ListLogs(ctx context.Context, request operations.ListLogsRequest, ...) (*operations.ListLogsResponse, error)
- func (s *FormanceV1) ListTransactions(ctx context.Context, request operations.ListTransactionsRequest, ...) (*operations.ListTransactionsResponse, error)
- func (s *FormanceV1) ReadStats(ctx context.Context, request operations.ReadStatsRequest, ...) (*operations.ReadStatsResponse, error)
- func (s *FormanceV1) RevertTransaction(ctx context.Context, request operations.RevertTransactionRequest, ...) (*operations.RevertTransactionResponse, error)
- func (s *FormanceV1) RunScript(ctx context.Context, request operations.RunScriptRequest, ...) (*operations.RunScriptResponse, error)
- func (s *FormanceV1) UpdateMapping(ctx context.Context, request operations.UpdateMappingRequest, ...) (*operations.UpdateMappingResponse, error)
- type FormanceV2
- func (s *FormanceV2) CancelEvent(ctx context.Context, request operations.V2CancelEventRequest, ...) (*operations.V2CancelEventResponse, error)
- func (s *FormanceV2) CreateTrigger(ctx context.Context, request *shared.V2TriggerData, opts ...operations.Option) (*operations.V2CreateTriggerResponse, error)
- func (s *FormanceV2) CreateWorkflow(ctx context.Context, request *shared.V2CreateWorkflowRequest, ...) (*operations.V2CreateWorkflowResponse, error)
- func (s *FormanceV2) DeleteTrigger(ctx context.Context, request operations.V2DeleteTriggerRequest, ...) (*operations.V2DeleteTriggerResponse, error)
- func (s *FormanceV2) DeleteWorkflow(ctx context.Context, request operations.V2DeleteWorkflowRequest, ...) (*operations.V2DeleteWorkflowResponse, error)
- func (s *FormanceV2) GetInstance(ctx context.Context, request operations.V2GetInstanceRequest, ...) (*operations.V2GetInstanceResponse, error)
- func (s *FormanceV2) GetInstanceHistory(ctx context.Context, request operations.V2GetInstanceHistoryRequest, ...) (*operations.V2GetInstanceHistoryResponse, error)
- func (s *FormanceV2) GetInstanceStageHistory(ctx context.Context, request operations.V2GetInstanceStageHistoryRequest, ...) (*operations.V2GetInstanceStageHistoryResponse, error)
- func (s *FormanceV2) GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetServerInfoResponse, error)
- func (s *FormanceV2) GetWorkflow(ctx context.Context, request operations.V2GetWorkflowRequest, ...) (*operations.V2GetWorkflowResponse, error)
- func (s *FormanceV2) ListInstances(ctx context.Context, request operations.V2ListInstancesRequest, ...) (*operations.V2ListInstancesResponse, error)
- func (s *FormanceV2) ListTriggers(ctx context.Context, request operations.V2ListTriggersRequest, ...) (*operations.V2ListTriggersResponse, error)
- func (s *FormanceV2) ListTriggersOccurrences(ctx context.Context, request operations.V2ListTriggersOccurrencesRequest, ...) (*operations.V2ListTriggersOccurrencesResponse, error)
- func (s *FormanceV2) ListWorkflows(ctx context.Context, request operations.V2ListWorkflowsRequest, ...) (*operations.V2ListWorkflowsResponse, error)
- func (s *FormanceV2) ReadTrigger(ctx context.Context, request operations.V2ReadTriggerRequest, ...) (*operations.V2ReadTriggerResponse, error)
- func (s *FormanceV2) RunWorkflow(ctx context.Context, request operations.V2RunWorkflowRequest, ...) (*operations.V2RunWorkflowResponse, error)
- func (s *FormanceV2) SendEvent(ctx context.Context, request operations.V2SendEventRequest, ...) (*operations.V2SendEventResponse, error)
- func (s *FormanceV2) TestTrigger(ctx context.Context, request operations.TestTriggerRequest, ...) (*operations.TestTriggerResponse, error)
- type FormanceWalletsV1
- func (s *FormanceWalletsV1) ConfirmHold(ctx context.Context, request operations.ConfirmHoldRequest, ...) (*operations.ConfirmHoldResponse, error)
- func (s *FormanceWalletsV1) CreateBalance(ctx context.Context, request operations.CreateBalanceRequest, ...) (*operations.CreateBalanceResponse, error)
- func (s *FormanceWalletsV1) CreateWallet(ctx context.Context, request operations.CreateWalletRequest, ...) (*operations.CreateWalletResponse, error)
- func (s *FormanceWalletsV1) CreditWallet(ctx context.Context, request operations.CreditWalletRequest, ...) (*operations.CreditWalletResponse, error)
- func (s *FormanceWalletsV1) DebitWallet(ctx context.Context, request operations.DebitWalletRequest, ...) (*operations.DebitWalletResponse, error)
- func (s *FormanceWalletsV1) GetBalance(ctx context.Context, request operations.GetBalanceRequest, ...) (*operations.GetBalanceResponse, error)
- func (s *FormanceWalletsV1) GetHold(ctx context.Context, request operations.GetHoldRequest, ...) (*operations.GetHoldResponse, error)
- func (s *FormanceWalletsV1) GetHolds(ctx context.Context, request operations.GetHoldsRequest, ...) (*operations.GetHoldsResponse, error)
- func (s *FormanceWalletsV1) GetTransactions(ctx context.Context, request operations.GetTransactionsRequest, ...) (*operations.GetTransactionsResponse, error)
- func (s *FormanceWalletsV1) GetWallet(ctx context.Context, request operations.GetWalletRequest, ...) (*operations.GetWalletResponse, error)
- func (s *FormanceWalletsV1) GetWalletSummary(ctx context.Context, request operations.GetWalletSummaryRequest, ...) (*operations.GetWalletSummaryResponse, error)
- func (s *FormanceWalletsV1) ListBalances(ctx context.Context, request operations.ListBalancesRequest, ...) (*operations.ListBalancesResponse, error)
- func (s *FormanceWalletsV1) ListWallets(ctx context.Context, request operations.ListWalletsRequest, ...) (*operations.ListWalletsResponse, error)
- func (s *FormanceWalletsV1) UpdateWallet(ctx context.Context, request operations.UpdateWalletRequest, ...) (*operations.UpdateWalletResponse, error)
- func (s *FormanceWalletsV1) VoidHold(ctx context.Context, request operations.VoidHoldRequest, ...) (*operations.VoidHoldResponse, error)
- func (s *FormanceWalletsV1) WalletsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.WalletsgetServerInfoResponse, error)
- type FormanceWebhooksV1
- func (s *FormanceWebhooksV1) ActivateConfig(ctx context.Context, request operations.ActivateConfigRequest, ...) (*operations.ActivateConfigResponse, error)
- func (s *FormanceWebhooksV1) ChangeConfigSecret(ctx context.Context, request operations.ChangeConfigSecretRequest, ...) (*operations.ChangeConfigSecretResponse, error)
- func (s *FormanceWebhooksV1) DeactivateConfig(ctx context.Context, request operations.DeactivateConfigRequest, ...) (*operations.DeactivateConfigResponse, error)
- func (s *FormanceWebhooksV1) DeleteConfig(ctx context.Context, request operations.DeleteConfigRequest, ...) (*operations.DeleteConfigResponse, error)
- func (s *FormanceWebhooksV1) GetManyConfigs(ctx context.Context, request operations.GetManyConfigsRequest, ...) (*operations.GetManyConfigsResponse, error)
- func (s *FormanceWebhooksV1) InsertConfig(ctx context.Context, request shared.ConfigUser, opts ...operations.Option) (*operations.InsertConfigResponse, error)
- func (s *FormanceWebhooksV1) TestConfig(ctx context.Context, request operations.TestConfigRequest, ...) (*operations.TestConfigResponse, error)
- type HTTPClient
- type Ledger
- type Orchestration
- type Payments
- type Reconciliation
- type SDKOption
- func WithClient(client HTTPClient) SDKOption
- func WithEnvironment(environment ServerEnvironment) SDKOption
- func WithOrganization(organization string) 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 ServerEnvironment
- type V1
- func (s *V1) CreateClient(ctx context.Context, request *shared.CreateClientRequest, ...) (*operations.CreateClientResponse, error)
- func (s *V1) CreateSecret(ctx context.Context, request operations.CreateSecretRequest, ...) (*operations.CreateSecretResponse, error)
- func (s *V1) DeleteClient(ctx context.Context, request operations.DeleteClientRequest, ...) (*operations.DeleteClientResponse, error)
- func (s *V1) DeleteSecret(ctx context.Context, request operations.DeleteSecretRequest, ...) (*operations.DeleteSecretResponse, error)
- func (s *V1) GetOIDCWellKnowns(ctx context.Context, opts ...operations.Option) (*operations.GetOIDCWellKnownsResponse, error)
- func (s *V1) GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.GetServerInfoResponse, error)
- func (s *V1) ListClients(ctx context.Context, opts ...operations.Option) (*operations.ListClientsResponse, error)
- func (s *V1) ListUsers(ctx context.Context, opts ...operations.Option) (*operations.ListUsersResponse, error)
- func (s *V1) ReadClient(ctx context.Context, request operations.ReadClientRequest, ...) (*operations.ReadClientResponse, error)
- func (s *V1) ReadUser(ctx context.Context, request operations.ReadUserRequest, ...) (*operations.ReadUserResponse, error)
- func (s *V1) UpdateClient(ctx context.Context, request operations.UpdateClientRequest, ...) (*operations.UpdateClientResponse, error)
- type V2
- func (s *V2) AddMetadataOnTransaction(ctx context.Context, request operations.V2AddMetadataOnTransactionRequest, ...) (*operations.V2AddMetadataOnTransactionResponse, error)
- func (s *V2) AddMetadataToAccount(ctx context.Context, request operations.V2AddMetadataToAccountRequest, ...) (*operations.V2AddMetadataToAccountResponse, error)
- func (s *V2) CountAccounts(ctx context.Context, request operations.V2CountAccountsRequest, ...) (*operations.V2CountAccountsResponse, error)
- func (s *V2) CountTransactions(ctx context.Context, request operations.V2CountTransactionsRequest, ...) (*operations.V2CountTransactionsResponse, error)
- func (s *V2) CreateBulk(ctx context.Context, request operations.V2CreateBulkRequest, ...) (*operations.V2CreateBulkResponse, error)
- func (s *V2) CreateLedger(ctx context.Context, request operations.V2CreateLedgerRequest, ...) (*operations.V2CreateLedgerResponse, error)
- func (s *V2) CreateTransaction(ctx context.Context, request operations.V2CreateTransactionRequest, ...) (*operations.V2CreateTransactionResponse, error)
- func (s *V2) DeleteAccountMetadata(ctx context.Context, request operations.V2DeleteAccountMetadataRequest, ...) (*operations.V2DeleteAccountMetadataResponse, error)
- func (s *V2) DeleteLedgerMetadata(ctx context.Context, request operations.V2DeleteLedgerMetadataRequest, ...) (*operations.V2DeleteLedgerMetadataResponse, error)
- func (s *V2) DeleteTransactionMetadata(ctx context.Context, request operations.V2DeleteTransactionMetadataRequest, ...) (*operations.V2DeleteTransactionMetadataResponse, error)
- func (s *V2) ExportLogs(ctx context.Context, request operations.V2ExportLogsRequest, ...) (*operations.V2ExportLogsResponse, error)
- func (s *V2) GetAccount(ctx context.Context, request operations.V2GetAccountRequest, ...) (*operations.V2GetAccountResponse, error)
- func (s *V2) GetBalancesAggregated(ctx context.Context, request operations.V2GetBalancesAggregatedRequest, ...) (*operations.V2GetBalancesAggregatedResponse, error)
- func (s *V2) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetInfoResponse, error)
- func (s *V2) GetLedger(ctx context.Context, request operations.V2GetLedgerRequest, ...) (*operations.V2GetLedgerResponse, error)
- func (s *V2) GetLedgerInfo(ctx context.Context, request operations.V2GetLedgerInfoRequest, ...) (*operations.V2GetLedgerInfoResponse, error)
- func (s *V2) GetTransaction(ctx context.Context, request operations.V2GetTransactionRequest, ...) (*operations.V2GetTransactionResponse, error)
- func (s *V2) GetVolumesWithBalances(ctx context.Context, request operations.V2GetVolumesWithBalancesRequest, ...) (*operations.V2GetVolumesWithBalancesResponse, error)
- func (s *V2) ImportLogs(ctx context.Context, request operations.V2ImportLogsRequest, ...) (*operations.V2ImportLogsResponse, error)
- func (s *V2) ListAccounts(ctx context.Context, request operations.V2ListAccountsRequest, ...) (*operations.V2ListAccountsResponse, error)
- func (s *V2) ListLedgers(ctx context.Context, request operations.V2ListLedgersRequest, ...) (*operations.V2ListLedgersResponse, error)
- func (s *V2) ListLogs(ctx context.Context, request operations.V2ListLogsRequest, ...) (*operations.V2ListLogsResponse, error)
- func (s *V2) ListTransactions(ctx context.Context, request operations.V2ListTransactionsRequest, ...) (*operations.V2ListTransactionsResponse, error)
- func (s *V2) ReadStats(ctx context.Context, request operations.V2ReadStatsRequest, ...) (*operations.V2ReadStatsResponse, error)
- func (s *V2) RevertTransaction(ctx context.Context, request operations.V2RevertTransactionRequest, ...) (*operations.V2RevertTransactionResponse, error)
- func (s *V2) UpdateLedgerMetadata(ctx context.Context, request operations.V2UpdateLedgerMetadataRequest, ...) (*operations.V2UpdateLedgerMetadataResponse, error)
- type Wallets
- type Webhooks
Constants ΒΆ
This section is empty.
Variables ΒΆ
var ServerList = []string{
"http://localhost",
"https://{organization}.{environment}.formance.cloud",
}
ServerList contains the list of servers available to the SDK
Functions ΒΆ
Types ΒΆ
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) GetVersions ΒΆ
func (s *Formance) GetVersions(ctx context.Context, opts ...operations.Option) (*operations.GetVersionsResponse, error)
GetVersions - Show stack version information
type FormanceOrchestrationV1 ΒΆ
type FormanceOrchestrationV1 struct {
// contains filtered or unexported fields
}
func (*FormanceOrchestrationV1) CancelEvent ΒΆ
func (s *FormanceOrchestrationV1) CancelEvent(ctx context.Context, request operations.CancelEventRequest, opts ...operations.Option) (*operations.CancelEventResponse, error)
CancelEvent - Cancel a running workflow Cancel a running workflow
func (*FormanceOrchestrationV1) CreateTrigger ΒΆ
func (s *FormanceOrchestrationV1) CreateTrigger(ctx context.Context, request *shared.TriggerData, opts ...operations.Option) (*operations.CreateTriggerResponse, error)
CreateTrigger - Create trigger Create trigger
func (*FormanceOrchestrationV1) CreateWorkflow ΒΆ
func (s *FormanceOrchestrationV1) CreateWorkflow(ctx context.Context, request *shared.CreateWorkflowRequest, opts ...operations.Option) (*operations.CreateWorkflowResponse, error)
CreateWorkflow - Create workflow Create a workflow
func (*FormanceOrchestrationV1) DeleteTrigger ΒΆ
func (s *FormanceOrchestrationV1) DeleteTrigger(ctx context.Context, request operations.DeleteTriggerRequest, opts ...operations.Option) (*operations.DeleteTriggerResponse, error)
DeleteTrigger - Delete trigger Read trigger
func (*FormanceOrchestrationV1) DeleteWorkflow ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) GetInstance ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) GetInstanceHistory ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) GetInstanceStageHistory ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) GetWorkflow ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) ListInstances ΒΆ
func (s *FormanceOrchestrationV1) 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 (*FormanceOrchestrationV1) ListTriggers ΒΆ
func (s *FormanceOrchestrationV1) ListTriggers(ctx context.Context, request operations.ListTriggersRequest, opts ...operations.Option) (*operations.ListTriggersResponse, error)
ListTriggers - List triggers List triggers
func (*FormanceOrchestrationV1) ListTriggersOccurrences ΒΆ
func (s *FormanceOrchestrationV1) ListTriggersOccurrences(ctx context.Context, request operations.ListTriggersOccurrencesRequest, opts ...operations.Option) (*operations.ListTriggersOccurrencesResponse, error)
ListTriggersOccurrences - List triggers occurrences List triggers occurrences
func (*FormanceOrchestrationV1) ListWorkflows ΒΆ
func (s *FormanceOrchestrationV1) ListWorkflows(ctx context.Context, opts ...operations.Option) (*operations.ListWorkflowsResponse, error)
ListWorkflows - List registered workflows List registered workflows
func (*FormanceOrchestrationV1) OrchestrationgetServerInfo ΒΆ
func (s *FormanceOrchestrationV1) OrchestrationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.OrchestrationgetServerInfoResponse, error)
OrchestrationgetServerInfo - Get server info
func (*FormanceOrchestrationV1) ReadTrigger ΒΆ
func (s *FormanceOrchestrationV1) ReadTrigger(ctx context.Context, request operations.ReadTriggerRequest, opts ...operations.Option) (*operations.ReadTriggerResponse, error)
ReadTrigger - Read trigger Read trigger
func (*FormanceOrchestrationV1) RunWorkflow ΒΆ
func (s *FormanceOrchestrationV1) RunWorkflow(ctx context.Context, request operations.RunWorkflowRequest, opts ...operations.Option) (*operations.RunWorkflowResponse, error)
RunWorkflow - Run workflow Run workflow
func (*FormanceOrchestrationV1) SendEvent ΒΆ
func (s *FormanceOrchestrationV1) 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
type FormancePaymentsV1 ΒΆ
type FormancePaymentsV1 struct {
// contains filtered or unexported fields
}
func (*FormancePaymentsV1) AddAccountToPool ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ConnectorsTransfer ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) CreateAccount ΒΆ
func (s *FormancePaymentsV1) CreateAccount(ctx context.Context, request shared.AccountRequest, opts ...operations.Option) (*operations.CreateAccountResponse, error)
CreateAccount - Create an account Create an account
func (*FormancePaymentsV1) CreateBankAccount ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) CreatePayment ΒΆ
func (s *FormancePaymentsV1) CreatePayment(ctx context.Context, request shared.PaymentRequest, opts ...operations.Option) (*operations.CreatePaymentResponse, error)
CreatePayment - Create a payment Create a payment
func (*FormancePaymentsV1) CreatePool ΒΆ
func (s *FormancePaymentsV1) CreatePool(ctx context.Context, request shared.PoolRequest, opts ...operations.Option) (*operations.CreatePoolResponse, error)
CreatePool - Create a Pool Create a Pool
func (*FormancePaymentsV1) CreateTransferInitiation ΒΆ
func (s *FormancePaymentsV1) CreateTransferInitiation(ctx context.Context, request shared.TransferInitiationRequest, opts ...operations.Option) (*operations.CreateTransferInitiationResponse, error)
CreateTransferInitiation - Create a TransferInitiation Create a transfer initiation
func (*FormancePaymentsV1) DeletePool ΒΆ
func (s *FormancePaymentsV1) DeletePool(ctx context.Context, request operations.DeletePoolRequest, opts ...operations.Option) (*operations.DeletePoolResponse, error)
DeletePool - Delete a Pool Delete a pool by its id.
func (*FormancePaymentsV1) DeleteTransferInitiation ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ForwardBankAccount ΒΆ
func (s *FormancePaymentsV1) ForwardBankAccount(ctx context.Context, request operations.ForwardBankAccountRequest, opts ...operations.Option) (*operations.ForwardBankAccountResponse, error)
ForwardBankAccount - Forward a bank account to a connector
func (*FormancePaymentsV1) GetAccountBalances ΒΆ
func (s *FormancePaymentsV1) GetAccountBalances(ctx context.Context, request operations.GetAccountBalancesRequest, opts ...operations.Option) (*operations.GetAccountBalancesResponse, error)
GetAccountBalances - Get account balances
func (*FormancePaymentsV1) GetBankAccount ΒΆ
func (s *FormancePaymentsV1) GetBankAccount(ctx context.Context, request operations.GetBankAccountRequest, opts ...operations.Option) (*operations.GetBankAccountResponse, error)
GetBankAccount - Get a bank account created by user on Formance
func (*FormancePaymentsV1) GetConnectorTask ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) GetConnectorTaskV1 ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) GetPayment ΒΆ
func (s *FormancePaymentsV1) GetPayment(ctx context.Context, request operations.GetPaymentRequest, opts ...operations.Option) (*operations.GetPaymentResponse, error)
GetPayment - Get a payment
func (*FormancePaymentsV1) GetPool ΒΆ
func (s *FormancePaymentsV1) GetPool(ctx context.Context, request operations.GetPoolRequest, opts ...operations.Option) (*operations.GetPoolResponse, error)
GetPool - Get a Pool
func (*FormancePaymentsV1) GetPoolBalances ΒΆ
func (s *FormancePaymentsV1) GetPoolBalances(ctx context.Context, request operations.GetPoolBalancesRequest, opts ...operations.Option) (*operations.GetPoolBalancesResponse, error)
GetPoolBalances - Get pool balances
func (*FormancePaymentsV1) GetTransferInitiation ΒΆ
func (s *FormancePaymentsV1) GetTransferInitiation(ctx context.Context, request operations.GetTransferInitiationRequest, opts ...operations.Option) (*operations.GetTransferInitiationResponse, error)
GetTransferInitiation - Get a transfer initiation
func (*FormancePaymentsV1) InstallConnector ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ListAllConnectors ΒΆ
func (s *FormancePaymentsV1) ListAllConnectors(ctx context.Context, opts ...operations.Option) (*operations.ListAllConnectorsResponse, error)
ListAllConnectors - List all installed connectors List all installed connectors.
func (*FormancePaymentsV1) ListBankAccounts ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ListConfigsAvailableConnectors ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ListConnectorTasks ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ListConnectorTasksV1 ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ListPayments ΒΆ
func (s *FormancePaymentsV1) ListPayments(ctx context.Context, request operations.ListPaymentsRequest, opts ...operations.Option) (*operations.ListPaymentsResponse, error)
ListPayments - List payments
func (*FormancePaymentsV1) ListPools ΒΆ
func (s *FormancePaymentsV1) ListPools(ctx context.Context, request operations.ListPoolsRequest, opts ...operations.Option) (*operations.ListPoolsResponse, error)
ListPools - List Pools
func (*FormancePaymentsV1) ListTransferInitiations ΒΆ
func (s *FormancePaymentsV1) ListTransferInitiations(ctx context.Context, request operations.ListTransferInitiationsRequest, opts ...operations.Option) (*operations.ListTransferInitiationsResponse, error)
ListTransferInitiations - List Transfer Initiations
func (*FormancePaymentsV1) PaymentsgetAccount ΒΆ
func (s *FormancePaymentsV1) PaymentsgetAccount(ctx context.Context, request operations.PaymentsgetAccountRequest, opts ...operations.Option) (*operations.PaymentsgetAccountResponse, error)
PaymentsgetAccount - Get an account
func (*FormancePaymentsV1) PaymentsgetServerInfo ΒΆ
func (s *FormancePaymentsV1) PaymentsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.PaymentsgetServerInfoResponse, error)
PaymentsgetServerInfo - Get server info
func (*FormancePaymentsV1) PaymentslistAccounts ΒΆ
func (s *FormancePaymentsV1) PaymentslistAccounts(ctx context.Context, request operations.PaymentslistAccountsRequest, opts ...operations.Option) (*operations.PaymentslistAccountsResponse, error)
PaymentslistAccounts - List accounts
func (*FormancePaymentsV1) ReadConnectorConfig ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ReadConnectorConfigV1 ΒΆ
func (s *FormancePaymentsV1) ReadConnectorConfigV1(ctx context.Context, request operations.ReadConnectorConfigV1Request, opts ...operations.Option) (*operations.ReadConnectorConfigV1Response, error)
ReadConnectorConfigV1 - Read the config of a connector Read connector config
func (*FormancePaymentsV1) RemoveAccountFromPool ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ResetConnector ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ResetConnectorV1 ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) RetryTransferInitiation ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) ReverseTransferInitiation ΒΆ
func (s *FormancePaymentsV1) ReverseTransferInitiation(ctx context.Context, request operations.ReverseTransferInitiationRequest, opts ...operations.Option) (*operations.ReverseTransferInitiationResponse, error)
ReverseTransferInitiation - Reverse a transfer initiation Reverse transfer initiation
func (*FormancePaymentsV1) UdpateTransferInitiationStatus ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) UninstallConnector ΒΆ
func (s *FormancePaymentsV1) 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 (*FormancePaymentsV1) UninstallConnectorV1 ΒΆ
func (s *FormancePaymentsV1) UninstallConnectorV1(ctx context.Context, request operations.UninstallConnectorV1Request, opts ...operations.Option) (*operations.UninstallConnectorV1Response, error)
UninstallConnectorV1 - Uninstall a connector Uninstall a connector by its name.
func (*FormancePaymentsV1) UpdateBankAccountMetadata ΒΆ
func (s *FormancePaymentsV1) UpdateBankAccountMetadata(ctx context.Context, request operations.UpdateBankAccountMetadataRequest, opts ...operations.Option) (*operations.UpdateBankAccountMetadataResponse, error)
UpdateBankAccountMetadata - Update metadata of a bank account
func (*FormancePaymentsV1) UpdateConnectorConfigV1 ΒΆ
func (s *FormancePaymentsV1) UpdateConnectorConfigV1(ctx context.Context, request operations.UpdateConnectorConfigV1Request, opts ...operations.Option) (*operations.UpdateConnectorConfigV1Response, error)
UpdateConnectorConfigV1 - Update the config of a connector Update connector config
func (*FormancePaymentsV1) UpdateMetadata ΒΆ
func (s *FormancePaymentsV1) UpdateMetadata(ctx context.Context, request operations.UpdateMetadataRequest, opts ...operations.Option) (*operations.UpdateMetadataResponse, error)
UpdateMetadata - Update metadata
type FormanceReconciliationV1 ΒΆ
type FormanceReconciliationV1 struct {
// contains filtered or unexported fields
}
func (*FormanceReconciliationV1) CreatePolicy ΒΆ
func (s *FormanceReconciliationV1) CreatePolicy(ctx context.Context, request shared.PolicyRequest, opts ...operations.Option) (*operations.CreatePolicyResponse, error)
CreatePolicy - Create a policy Create a policy
func (*FormanceReconciliationV1) DeletePolicy ΒΆ
func (s *FormanceReconciliationV1) DeletePolicy(ctx context.Context, request operations.DeletePolicyRequest, opts ...operations.Option) (*operations.DeletePolicyResponse, error)
DeletePolicy - Delete a policy Delete a policy by its id.
func (*FormanceReconciliationV1) GetPolicy ΒΆ
func (s *FormanceReconciliationV1) GetPolicy(ctx context.Context, request operations.GetPolicyRequest, opts ...operations.Option) (*operations.GetPolicyResponse, error)
GetPolicy - Get a policy
func (*FormanceReconciliationV1) GetReconciliation ΒΆ
func (s *FormanceReconciliationV1) GetReconciliation(ctx context.Context, request operations.GetReconciliationRequest, opts ...operations.Option) (*operations.GetReconciliationResponse, error)
GetReconciliation - Get a reconciliation
func (*FormanceReconciliationV1) ListPolicies ΒΆ
func (s *FormanceReconciliationV1) ListPolicies(ctx context.Context, request operations.ListPoliciesRequest, opts ...operations.Option) (*operations.ListPoliciesResponse, error)
ListPolicies - List policies
func (*FormanceReconciliationV1) ListReconciliations ΒΆ
func (s *FormanceReconciliationV1) ListReconciliations(ctx context.Context, request operations.ListReconciliationsRequest, opts ...operations.Option) (*operations.ListReconciliationsResponse, error)
ListReconciliations - List reconciliations
func (*FormanceReconciliationV1) Reconcile ΒΆ
func (s *FormanceReconciliationV1) Reconcile(ctx context.Context, request operations.ReconcileRequest, opts ...operations.Option) (*operations.ReconcileResponse, error)
Reconcile using a policy Reconcile using a policy
func (*FormanceReconciliationV1) ReconciliationgetServerInfo ΒΆ
func (s *FormanceReconciliationV1) ReconciliationgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.ReconciliationgetServerInfoResponse, error)
ReconciliationgetServerInfo - Get server info
type FormanceSearchV1 ΒΆ
type FormanceSearchV1 struct {
// contains filtered or unexported fields
}
func (*FormanceSearchV1) Search ΒΆ
func (s *FormanceSearchV1) Search(ctx context.Context, request shared.Query, opts ...operations.Option) (*operations.SearchResponse, error)
Search - search.v1 Elasticsearch.v1 query engine
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
func (*FormanceSearchV1) SearchgetServerInfo ΒΆ
func (s *FormanceSearchV1) SearchgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.SearchgetServerInfoResponse, error)
SearchgetServerInfo - Get server info
Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
type FormanceV1 ΒΆ
type FormanceV1 struct {
// contains filtered or unexported fields
}
func (*FormanceV1) AddMetadataOnTransaction ΒΆ
func (s *FormanceV1) AddMetadataOnTransaction(ctx context.Context, request operations.AddMetadataOnTransactionRequest, opts ...operations.Option) (*operations.AddMetadataOnTransactionResponse, error)
AddMetadataOnTransaction - Set the metadata of a transaction by its ID
func (*FormanceV1) AddMetadataToAccount ΒΆ
func (s *FormanceV1) AddMetadataToAccount(ctx context.Context, request operations.AddMetadataToAccountRequest, opts ...operations.Option) (*operations.AddMetadataToAccountResponse, error)
AddMetadataToAccount - Add metadata to an account
func (*FormanceV1) CountAccounts ΒΆ
func (s *FormanceV1) CountAccounts(ctx context.Context, request operations.CountAccountsRequest, opts ...operations.Option) (*operations.CountAccountsResponse, error)
CountAccounts - Count the accounts from a ledger
func (*FormanceV1) CountTransactions ΒΆ
func (s *FormanceV1) CountTransactions(ctx context.Context, request operations.CountTransactionsRequest, opts ...operations.Option) (*operations.CountTransactionsResponse, error)
CountTransactions - Count the transactions from a ledger
func (*FormanceV1) CreateTransaction ΒΆ
func (s *FormanceV1) CreateTransaction(ctx context.Context, request operations.CreateTransactionRequest, opts ...operations.Option) (*operations.CreateTransactionResponse, error)
CreateTransaction - Create a new transaction to a ledger
func (*FormanceV1) CreateTransactions ΒΆ
func (s *FormanceV1) CreateTransactions(ctx context.Context, request operations.CreateTransactionsRequest, opts ...operations.Option) (*operations.CreateTransactionsResponse, error)
CreateTransactions - Create a new batch of transactions to a ledger
func (*FormanceV1) GetAccount ΒΆ
func (s *FormanceV1) GetAccount(ctx context.Context, request operations.GetAccountRequest, opts ...operations.Option) (*operations.GetAccountResponse, error)
GetAccount - Get account by its address
func (*FormanceV1) GetBalances ΒΆ
func (s *FormanceV1) GetBalances(ctx context.Context, request operations.GetBalancesRequest, opts ...operations.Option) (*operations.GetBalancesResponse, error)
GetBalances - Get the balances from a ledger's account
func (*FormanceV1) GetBalancesAggregated ΒΆ
func (s *FormanceV1) GetBalancesAggregated(ctx context.Context, request operations.GetBalancesAggregatedRequest, opts ...operations.Option) (*operations.GetBalancesAggregatedResponse, error)
GetBalancesAggregated - Get the aggregated balances from selected accounts
func (*FormanceV1) GetInfo ΒΆ
func (s *FormanceV1) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.GetInfoResponse, error)
GetInfo - Show server information
func (*FormanceV1) GetLedgerInfo ΒΆ
func (s *FormanceV1) GetLedgerInfo(ctx context.Context, request operations.GetLedgerInfoRequest, opts ...operations.Option) (*operations.GetLedgerInfoResponse, error)
GetLedgerInfo - Get information about a ledger
func (*FormanceV1) GetMapping ΒΆ
func (s *FormanceV1) GetMapping(ctx context.Context, request operations.GetMappingRequest, opts ...operations.Option) (*operations.GetMappingResponse, error)
GetMapping - Get the mapping of a ledger
func (*FormanceV1) GetTransaction ΒΆ
func (s *FormanceV1) GetTransaction(ctx context.Context, request operations.GetTransactionRequest, opts ...operations.Option) (*operations.GetTransactionResponse, error)
GetTransaction - Get transaction from a ledger by its ID
func (*FormanceV1) ListAccounts ΒΆ
func (s *FormanceV1) 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 (*FormanceV1) ListLogs ΒΆ
func (s *FormanceV1) 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 (*FormanceV1) ListTransactions ΒΆ
func (s *FormanceV1) 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 (*FormanceV1) ReadStats ΒΆ
func (s *FormanceV1) 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 (*FormanceV1) RevertTransaction ΒΆ
func (s *FormanceV1) RevertTransaction(ctx context.Context, request operations.RevertTransactionRequest, opts ...operations.Option) (*operations.RevertTransactionResponse, error)
RevertTransaction - Revert a ledger transaction by its ID
func (*FormanceV1) RunScript ΒΆ
func (s *FormanceV1) 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 (*FormanceV1) UpdateMapping ΒΆ
func (s *FormanceV1) UpdateMapping(ctx context.Context, request operations.UpdateMappingRequest, opts ...operations.Option) (*operations.UpdateMappingResponse, error)
UpdateMapping - Update the mapping of a ledger
type FormanceV2 ΒΆ
type FormanceV2 struct {
// contains filtered or unexported fields
}
func (*FormanceV2) CancelEvent ΒΆ
func (s *FormanceV2) CancelEvent(ctx context.Context, request operations.V2CancelEventRequest, opts ...operations.Option) (*operations.V2CancelEventResponse, error)
CancelEvent - Cancel a running workflow Cancel a running workflow
func (*FormanceV2) CreateTrigger ΒΆ
func (s *FormanceV2) CreateTrigger(ctx context.Context, request *shared.V2TriggerData, opts ...operations.Option) (*operations.V2CreateTriggerResponse, error)
CreateTrigger - Create trigger Create trigger
func (*FormanceV2) CreateWorkflow ΒΆ
func (s *FormanceV2) CreateWorkflow(ctx context.Context, request *shared.V2CreateWorkflowRequest, opts ...operations.Option) (*operations.V2CreateWorkflowResponse, error)
CreateWorkflow - Create workflow Create a workflow
func (*FormanceV2) DeleteTrigger ΒΆ
func (s *FormanceV2) DeleteTrigger(ctx context.Context, request operations.V2DeleteTriggerRequest, opts ...operations.Option) (*operations.V2DeleteTriggerResponse, error)
DeleteTrigger - Delete trigger Read trigger
func (*FormanceV2) DeleteWorkflow ΒΆ
func (s *FormanceV2) DeleteWorkflow(ctx context.Context, request operations.V2DeleteWorkflowRequest, opts ...operations.Option) (*operations.V2DeleteWorkflowResponse, error)
DeleteWorkflow - Delete a flow by id Delete a flow by id
func (*FormanceV2) GetInstance ΒΆ
func (s *FormanceV2) GetInstance(ctx context.Context, request operations.V2GetInstanceRequest, opts ...operations.Option) (*operations.V2GetInstanceResponse, error)
GetInstance - Get a workflow instance by id Get a workflow instance by id
func (*FormanceV2) GetInstanceHistory ΒΆ
func (s *FormanceV2) GetInstanceHistory(ctx context.Context, request operations.V2GetInstanceHistoryRequest, opts ...operations.Option) (*operations.V2GetInstanceHistoryResponse, error)
GetInstanceHistory - Get a workflow instance history by id Get a workflow instance history by id
func (*FormanceV2) GetInstanceStageHistory ΒΆ
func (s *FormanceV2) GetInstanceStageHistory(ctx context.Context, request operations.V2GetInstanceStageHistoryRequest, opts ...operations.Option) (*operations.V2GetInstanceStageHistoryResponse, error)
GetInstanceStageHistory - Get a workflow instance stage history Get a workflow instance stage history
func (*FormanceV2) GetServerInfo ΒΆ
func (s *FormanceV2) GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetServerInfoResponse, error)
GetServerInfo - Get server info
func (*FormanceV2) GetWorkflow ΒΆ
func (s *FormanceV2) GetWorkflow(ctx context.Context, request operations.V2GetWorkflowRequest, opts ...operations.Option) (*operations.V2GetWorkflowResponse, error)
GetWorkflow - Get a flow by id Get a flow by id
func (*FormanceV2) ListInstances ΒΆ
func (s *FormanceV2) ListInstances(ctx context.Context, request operations.V2ListInstancesRequest, opts ...operations.Option) (*operations.V2ListInstancesResponse, error)
ListInstances - List instances of a workflow List instances of a workflow
func (*FormanceV2) ListTriggers ΒΆ
func (s *FormanceV2) ListTriggers(ctx context.Context, request operations.V2ListTriggersRequest, opts ...operations.Option) (*operations.V2ListTriggersResponse, error)
ListTriggers - List triggers List triggers
func (*FormanceV2) ListTriggersOccurrences ΒΆ
func (s *FormanceV2) ListTriggersOccurrences(ctx context.Context, request operations.V2ListTriggersOccurrencesRequest, opts ...operations.Option) (*operations.V2ListTriggersOccurrencesResponse, error)
ListTriggersOccurrences - List triggers occurrences List triggers occurrences
func (*FormanceV2) ListWorkflows ΒΆ
func (s *FormanceV2) ListWorkflows(ctx context.Context, request operations.V2ListWorkflowsRequest, opts ...operations.Option) (*operations.V2ListWorkflowsResponse, error)
ListWorkflows - List registered workflows List registered workflows
func (*FormanceV2) ReadTrigger ΒΆ
func (s *FormanceV2) ReadTrigger(ctx context.Context, request operations.V2ReadTriggerRequest, opts ...operations.Option) (*operations.V2ReadTriggerResponse, error)
ReadTrigger - Read trigger Read trigger
func (*FormanceV2) RunWorkflow ΒΆ
func (s *FormanceV2) RunWorkflow(ctx context.Context, request operations.V2RunWorkflowRequest, opts ...operations.Option) (*operations.V2RunWorkflowResponse, error)
RunWorkflow - Run workflow Run workflow
func (*FormanceV2) SendEvent ΒΆ
func (s *FormanceV2) SendEvent(ctx context.Context, request operations.V2SendEventRequest, opts ...operations.Option) (*operations.V2SendEventResponse, error)
SendEvent - Send an event to a running workflow Send an event to a running workflow
func (*FormanceV2) TestTrigger ΒΆ
func (s *FormanceV2) TestTrigger(ctx context.Context, request operations.TestTriggerRequest, opts ...operations.Option) (*operations.TestTriggerResponse, error)
TestTrigger - Test trigger Test trigger
type FormanceWalletsV1 ΒΆ
type FormanceWalletsV1 struct {
// contains filtered or unexported fields
}
func (*FormanceWalletsV1) ConfirmHold ΒΆ
func (s *FormanceWalletsV1) ConfirmHold(ctx context.Context, request operations.ConfirmHoldRequest, opts ...operations.Option) (*operations.ConfirmHoldResponse, error)
ConfirmHold - Confirm a hold
func (*FormanceWalletsV1) CreateBalance ΒΆ
func (s *FormanceWalletsV1) CreateBalance(ctx context.Context, request operations.CreateBalanceRequest, opts ...operations.Option) (*operations.CreateBalanceResponse, error)
CreateBalance - Create a balance
func (*FormanceWalletsV1) CreateWallet ΒΆ
func (s *FormanceWalletsV1) CreateWallet(ctx context.Context, request operations.CreateWalletRequest, opts ...operations.Option) (*operations.CreateWalletResponse, error)
CreateWallet - Create a new wallet
func (*FormanceWalletsV1) CreditWallet ΒΆ
func (s *FormanceWalletsV1) CreditWallet(ctx context.Context, request operations.CreditWalletRequest, opts ...operations.Option) (*operations.CreditWalletResponse, error)
CreditWallet - Credit a wallet
func (*FormanceWalletsV1) DebitWallet ΒΆ
func (s *FormanceWalletsV1) DebitWallet(ctx context.Context, request operations.DebitWalletRequest, opts ...operations.Option) (*operations.DebitWalletResponse, error)
DebitWallet - Debit a wallet
func (*FormanceWalletsV1) GetBalance ΒΆ
func (s *FormanceWalletsV1) GetBalance(ctx context.Context, request operations.GetBalanceRequest, opts ...operations.Option) (*operations.GetBalanceResponse, error)
GetBalance - Get detailed balance
func (*FormanceWalletsV1) GetHold ΒΆ
func (s *FormanceWalletsV1) GetHold(ctx context.Context, request operations.GetHoldRequest, opts ...operations.Option) (*operations.GetHoldResponse, error)
GetHold - Get a hold
func (*FormanceWalletsV1) GetHolds ΒΆ
func (s *FormanceWalletsV1) GetHolds(ctx context.Context, request operations.GetHoldsRequest, opts ...operations.Option) (*operations.GetHoldsResponse, error)
GetHolds - Get all holds for a wallet
func (*FormanceWalletsV1) GetTransactions ΒΆ
func (s *FormanceWalletsV1) GetTransactions(ctx context.Context, request operations.GetTransactionsRequest, opts ...operations.Option) (*operations.GetTransactionsResponse, error)
func (*FormanceWalletsV1) GetWallet ΒΆ
func (s *FormanceWalletsV1) GetWallet(ctx context.Context, request operations.GetWalletRequest, opts ...operations.Option) (*operations.GetWalletResponse, error)
GetWallet - Get a wallet
func (*FormanceWalletsV1) GetWalletSummary ΒΆ
func (s *FormanceWalletsV1) GetWalletSummary(ctx context.Context, request operations.GetWalletSummaryRequest, opts ...operations.Option) (*operations.GetWalletSummaryResponse, error)
GetWalletSummary - Get wallet summary
func (*FormanceWalletsV1) ListBalances ΒΆ
func (s *FormanceWalletsV1) ListBalances(ctx context.Context, request operations.ListBalancesRequest, opts ...operations.Option) (*operations.ListBalancesResponse, error)
ListBalances - List balances of a wallet
func (*FormanceWalletsV1) ListWallets ΒΆ
func (s *FormanceWalletsV1) ListWallets(ctx context.Context, request operations.ListWalletsRequest, opts ...operations.Option) (*operations.ListWalletsResponse, error)
ListWallets - List all wallets
func (*FormanceWalletsV1) UpdateWallet ΒΆ
func (s *FormanceWalletsV1) UpdateWallet(ctx context.Context, request operations.UpdateWalletRequest, opts ...operations.Option) (*operations.UpdateWalletResponse, error)
UpdateWallet - Update a wallet
func (*FormanceWalletsV1) VoidHold ΒΆ
func (s *FormanceWalletsV1) VoidHold(ctx context.Context, request operations.VoidHoldRequest, opts ...operations.Option) (*operations.VoidHoldResponse, error)
VoidHold - Cancel a hold
func (*FormanceWalletsV1) WalletsgetServerInfo ΒΆ
func (s *FormanceWalletsV1) WalletsgetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.WalletsgetServerInfoResponse, error)
WalletsgetServerInfo - Get server info
type FormanceWebhooksV1 ΒΆ
type FormanceWebhooksV1 struct {
// contains filtered or unexported fields
}
func (*FormanceWebhooksV1) ActivateConfig ΒΆ
func (s *FormanceWebhooksV1) 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 (*FormanceWebhooksV1) ChangeConfigSecret ΒΆ
func (s *FormanceWebhooksV1) 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 (*FormanceWebhooksV1) DeactivateConfig ΒΆ
func (s *FormanceWebhooksV1) 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 (*FormanceWebhooksV1) DeleteConfig ΒΆ
func (s *FormanceWebhooksV1) DeleteConfig(ctx context.Context, request operations.DeleteConfigRequest, opts ...operations.Option) (*operations.DeleteConfigResponse, error)
DeleteConfig - Delete one config Delete a webhooks config by ID.
func (*FormanceWebhooksV1) GetManyConfigs ΒΆ
func (s *FormanceWebhooksV1) GetManyConfigs(ctx context.Context, request operations.GetManyConfigsRequest, opts ...operations.Option) (*operations.GetManyConfigsResponse, error)
GetManyConfigs - Get many configs Sorted by updated date descending
func (*FormanceWebhooksV1) InsertConfig ΒΆ
func (s *FormanceWebhooksV1) 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 (*FormanceWebhooksV1) TestConfig ΒΆ
func (s *FormanceWebhooksV1) 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.
type HTTPClient ΒΆ
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type Ledger ΒΆ
type Ledger struct { V1 *FormanceV1 V2 *V2 // contains filtered or unexported fields }
type Orchestration ΒΆ
type Orchestration struct { V1 *FormanceOrchestrationV1 V2 *FormanceV2 // contains filtered or unexported fields }
type Payments ΒΆ
type Payments struct { V1 *FormancePaymentsV1 // contains filtered or unexported fields }
type Reconciliation ΒΆ
type Reconciliation struct { V1 *FormanceReconciliationV1 // contains filtered or unexported fields }
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 WithEnvironment ΒΆ
func WithEnvironment(environment ServerEnvironment) SDKOption
WithEnvironment allows setting the environment variable for url substitution
func WithOrganization ΒΆ
WithOrganization allows setting the organization variable for url substitution
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 ΒΆ
WithTimeout Optional request timeout applied to each operation
type Search ΒΆ
type Search struct { V1 *FormanceSearchV1 // contains filtered or unexported fields }
type ServerEnvironment ΒΆ
type ServerEnvironment string
ServerEnvironment - The environment name. Defaults to the production environment.
const ( ServerEnvironmentSandbox ServerEnvironment = "sandbox" ServerEnvironmentEuWest1 ServerEnvironment = "eu-west-1" ServerEnvironmentUsEast1 ServerEnvironment = "us-east-1" )
func (ServerEnvironment) ToPointer ΒΆ
func (e ServerEnvironment) ToPointer() *ServerEnvironment
func (*ServerEnvironment) UnmarshalJSON ΒΆ
func (e *ServerEnvironment) UnmarshalJSON(data []byte) error
type V1 ΒΆ
type V1 struct {
// contains filtered or unexported fields
}
func (*V1) CreateClient ΒΆ
func (s *V1) CreateClient(ctx context.Context, request *shared.CreateClientRequest, opts ...operations.Option) (*operations.CreateClientResponse, error)
CreateClient - Create client
func (*V1) CreateSecret ΒΆ
func (s *V1) CreateSecret(ctx context.Context, request operations.CreateSecretRequest, opts ...operations.Option) (*operations.CreateSecretResponse, error)
CreateSecret - Add a secret to a client
func (*V1) DeleteClient ΒΆ
func (s *V1) DeleteClient(ctx context.Context, request operations.DeleteClientRequest, opts ...operations.Option) (*operations.DeleteClientResponse, error)
DeleteClient - Delete client
func (*V1) DeleteSecret ΒΆ
func (s *V1) DeleteSecret(ctx context.Context, request operations.DeleteSecretRequest, opts ...operations.Option) (*operations.DeleteSecretResponse, error)
DeleteSecret - Delete a secret from a client
func (*V1) GetOIDCWellKnowns ΒΆ
func (s *V1) GetOIDCWellKnowns(ctx context.Context, opts ...operations.Option) (*operations.GetOIDCWellKnownsResponse, error)
GetOIDCWellKnowns - Retrieve OpenID connect well-knowns.
func (*V1) GetServerInfo ΒΆ
func (s *V1) GetServerInfo(ctx context.Context, opts ...operations.Option) (*operations.GetServerInfoResponse, error)
GetServerInfo - Get server info
func (*V1) ListClients ΒΆ
func (s *V1) ListClients(ctx context.Context, opts ...operations.Option) (*operations.ListClientsResponse, error)
ListClients - List clients
func (*V1) ListUsers ΒΆ
func (s *V1) ListUsers(ctx context.Context, opts ...operations.Option) (*operations.ListUsersResponse, error)
ListUsers - List users List users
func (*V1) ReadClient ΒΆ
func (s *V1) ReadClient(ctx context.Context, request operations.ReadClientRequest, opts ...operations.Option) (*operations.ReadClientResponse, error)
ReadClient - Read client
func (*V1) ReadUser ΒΆ
func (s *V1) ReadUser(ctx context.Context, request operations.ReadUserRequest, opts ...operations.Option) (*operations.ReadUserResponse, error)
ReadUser - Read user Read user
func (*V1) UpdateClient ΒΆ
func (s *V1) UpdateClient(ctx context.Context, request operations.UpdateClientRequest, opts ...operations.Option) (*operations.UpdateClientResponse, error)
UpdateClient - Update client
type V2 ΒΆ
type V2 struct {
// contains filtered or unexported fields
}
func (*V2) AddMetadataOnTransaction ΒΆ
func (s *V2) AddMetadataOnTransaction(ctx context.Context, request operations.V2AddMetadataOnTransactionRequest, opts ...operations.Option) (*operations.V2AddMetadataOnTransactionResponse, error)
AddMetadataOnTransaction - Set the metadata of a transaction by its ID
func (*V2) AddMetadataToAccount ΒΆ
func (s *V2) AddMetadataToAccount(ctx context.Context, request operations.V2AddMetadataToAccountRequest, opts ...operations.Option) (*operations.V2AddMetadataToAccountResponse, error)
AddMetadataToAccount - Add metadata to an account
func (*V2) CountAccounts ΒΆ
func (s *V2) CountAccounts(ctx context.Context, request operations.V2CountAccountsRequest, opts ...operations.Option) (*operations.V2CountAccountsResponse, error)
CountAccounts - Count the accounts from a ledger
func (*V2) CountTransactions ΒΆ
func (s *V2) CountTransactions(ctx context.Context, request operations.V2CountTransactionsRequest, opts ...operations.Option) (*operations.V2CountTransactionsResponse, error)
CountTransactions - Count the transactions from a ledger
func (*V2) CreateBulk ΒΆ
func (s *V2) CreateBulk(ctx context.Context, request operations.V2CreateBulkRequest, opts ...operations.Option) (*operations.V2CreateBulkResponse, error)
CreateBulk - Bulk request
func (*V2) CreateLedger ΒΆ
func (s *V2) CreateLedger(ctx context.Context, request operations.V2CreateLedgerRequest, opts ...operations.Option) (*operations.V2CreateLedgerResponse, error)
CreateLedger - Create a ledger
func (*V2) CreateTransaction ΒΆ
func (s *V2) CreateTransaction(ctx context.Context, request operations.V2CreateTransactionRequest, opts ...operations.Option) (*operations.V2CreateTransactionResponse, error)
CreateTransaction - Create a new transaction to a ledger
func (*V2) DeleteAccountMetadata ΒΆ
func (s *V2) DeleteAccountMetadata(ctx context.Context, request operations.V2DeleteAccountMetadataRequest, opts ...operations.Option) (*operations.V2DeleteAccountMetadataResponse, error)
DeleteAccountMetadata - Delete metadata by key Delete metadata by key
func (*V2) DeleteLedgerMetadata ΒΆ
func (s *V2) DeleteLedgerMetadata(ctx context.Context, request operations.V2DeleteLedgerMetadataRequest, opts ...operations.Option) (*operations.V2DeleteLedgerMetadataResponse, error)
DeleteLedgerMetadata - Delete ledger metadata by key
func (*V2) DeleteTransactionMetadata ΒΆ
func (s *V2) DeleteTransactionMetadata(ctx context.Context, request operations.V2DeleteTransactionMetadataRequest, opts ...operations.Option) (*operations.V2DeleteTransactionMetadataResponse, error)
DeleteTransactionMetadata - Delete metadata by key Delete metadata by key
func (*V2) ExportLogs ΒΆ
func (s *V2) ExportLogs(ctx context.Context, request operations.V2ExportLogsRequest, opts ...operations.Option) (*operations.V2ExportLogsResponse, error)
ExportLogs - Export logs
func (*V2) GetAccount ΒΆ
func (s *V2) GetAccount(ctx context.Context, request operations.V2GetAccountRequest, opts ...operations.Option) (*operations.V2GetAccountResponse, error)
GetAccount - Get account by its address
func (*V2) GetBalancesAggregated ΒΆ
func (s *V2) GetBalancesAggregated(ctx context.Context, request operations.V2GetBalancesAggregatedRequest, opts ...operations.Option) (*operations.V2GetBalancesAggregatedResponse, error)
GetBalancesAggregated - Get the aggregated balances from selected accounts
func (*V2) GetInfo ΒΆ
func (s *V2) GetInfo(ctx context.Context, opts ...operations.Option) (*operations.V2GetInfoResponse, error)
GetInfo - Show server information
func (*V2) GetLedger ΒΆ
func (s *V2) GetLedger(ctx context.Context, request operations.V2GetLedgerRequest, opts ...operations.Option) (*operations.V2GetLedgerResponse, error)
GetLedger - Get a ledger
func (*V2) GetLedgerInfo ΒΆ
func (s *V2) GetLedgerInfo(ctx context.Context, request operations.V2GetLedgerInfoRequest, opts ...operations.Option) (*operations.V2GetLedgerInfoResponse, error)
GetLedgerInfo - Get information about a ledger
func (*V2) GetTransaction ΒΆ
func (s *V2) GetTransaction(ctx context.Context, request operations.V2GetTransactionRequest, opts ...operations.Option) (*operations.V2GetTransactionResponse, error)
GetTransaction - Get transaction from a ledger by its ID
func (*V2) GetVolumesWithBalances ΒΆ
func (s *V2) GetVolumesWithBalances(ctx context.Context, request operations.V2GetVolumesWithBalancesRequest, opts ...operations.Option) (*operations.V2GetVolumesWithBalancesResponse, error)
GetVolumesWithBalances - Get list of volumes with balances for (account/asset)
func (*V2) ImportLogs ΒΆ
func (s *V2) ImportLogs(ctx context.Context, request operations.V2ImportLogsRequest, opts ...operations.Option) (*operations.V2ImportLogsResponse, error)
func (*V2) ListAccounts ΒΆ
func (s *V2) ListAccounts(ctx context.Context, request operations.V2ListAccountsRequest, opts ...operations.Option) (*operations.V2ListAccountsResponse, error)
ListAccounts - List accounts from a ledger List accounts from a ledger, sorted by address in descending order.
func (*V2) ListLedgers ΒΆ
func (s *V2) ListLedgers(ctx context.Context, request operations.V2ListLedgersRequest, opts ...operations.Option) (*operations.V2ListLedgersResponse, error)
ListLedgers - List ledgers
func (*V2) ListLogs ΒΆ
func (s *V2) ListLogs(ctx context.Context, request operations.V2ListLogsRequest, opts ...operations.Option) (*operations.V2ListLogsResponse, error)
ListLogs - List the logs from a ledger List the logs from a ledger, sorted by ID in descending order.
func (*V2) ListTransactions ΒΆ
func (s *V2) ListTransactions(ctx context.Context, request operations.V2ListTransactionsRequest, opts ...operations.Option) (*operations.V2ListTransactionsResponse, error)
ListTransactions - List transactions from a ledger List transactions from a ledger, sorted by id in descending order.
func (*V2) ReadStats ΒΆ
func (s *V2) ReadStats(ctx context.Context, request operations.V2ReadStatsRequest, opts ...operations.Option) (*operations.V2ReadStatsResponse, error)
ReadStats - Get statistics from a ledger Get statistics from a ledger. (aggregate metrics on accounts and transactions)
func (*V2) RevertTransaction ΒΆ
func (s *V2) RevertTransaction(ctx context.Context, request operations.V2RevertTransactionRequest, opts ...operations.Option) (*operations.V2RevertTransactionResponse, error)
RevertTransaction - Revert a ledger transaction by its ID
func (*V2) UpdateLedgerMetadata ΒΆ
func (s *V2) UpdateLedgerMetadata(ctx context.Context, request operations.V2UpdateLedgerMetadataRequest, opts ...operations.Option) (*operations.V2UpdateLedgerMetadataResponse, error)
UpdateLedgerMetadata - Update ledger metadata
type Wallets ΒΆ
type Wallets struct { V1 *FormanceWalletsV1 // contains filtered or unexported fields }
type Webhooks ΒΆ
type Webhooks struct { V1 *FormanceWebhooksV1 // contains filtered or unexported fields }