Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2026 Changes in this version + const MaxBulkInflightItems + const MaxBulkTransactionItems + const MaxInstantReconciliationItems + var ErrPrecisionMustBeInteger = errors.New("precision must be an integer value") + type BulkInflightCommitItem struct + Amount float64 + PreciseAmount *big.Int + TransactionID string + func (t *BulkInflightCommitItem) ExactAmount() string + func (t *BulkInflightCommitItem) UnmarshalJSON(data []byte) error + type BulkInflightCommitRequest struct + DryRun bool + SkipQueue bool + Transactions []BulkInflightCommitItem + type BulkInflightResponse struct + Failed int + Results []BulkInflightResult + Succeeded int + type BulkInflightResult struct + Code string + Message string + Status string + TransactionID string + type BulkInflightVoidRequest struct + DryRun bool + SkipQueue bool + TransactionIDs []string + type BulkTransactionRequest struct + Atomic bool + DryRun bool + Inflight bool + RunAsync bool + SkipQueue bool + Transactions []*RecordTransaction + func (r *BulkTransactionRequest) ToBulkTransactionRequest() *model.BulkTransactionRequest + type CreateAPIKeyRequest struct + ExpiresAt time.Time + Name string + Owner string + Scopes []string + type CreateAccount struct + BalanceId string + BankName string + Currency string + IdentityId string + LedgerId string + MetaData map[string]interface{} + Number string + func (a *CreateAccount) ToAccount() model.Account + func (a *CreateAccount) ValidateCreateAccount() error + type CreateBalance struct + AllocationStrategy string + Currency string + IdentityId string + Indicator string + LedgerId string + MetaData map[string]interface{} + Precision float64 + TrackFundLineage bool + func (b *CreateBalance) ToBalance() model.Balance + func (b *CreateBalance) UnmarshalJSON(data []byte) error + func (b *CreateBalance) ValidateCreateBalance() error + type CreateBalanceMonitor struct + BalanceId string + CallBackURL string + Condition MonitorCondition + MetaData map[string]interface{} + func (b *CreateBalanceMonitor) ToBalanceMonitor() model.BalanceMonitor + func (b *CreateBalanceMonitor) ValidateCreateBalanceMonitor() error + type CreateIdentity struct + Category string + City string + Country string + CreatedAt time.Time + Dob time.Time + EmailAddress string + FirstName string + Gender string + IdentityType string + LastName string + MetaData map[string]interface{} + Nationality string + OrganizationName string + OtherNames string + PhoneNumber string + PostCode string + State string + Street string + type CreateLedger struct + MetaData map[string]interface{} + Name string + func (l *CreateLedger) ToLedger() model.Ledger + func (l *CreateLedger) ValidateCreateLedger() error + type DetokenizeRequest struct + Fields []string + type InflightUpdate struct + Amount float64 + DryRun bool + PreciseAmount *big.Int + SkipQueue bool + Status string + func (t *InflightUpdate) ExactAmount() string + func (t *InflightUpdate) UnmarshalJSON(data []byte) error + type MonitorCondition struct + Field string + Operator string + Precision float64 + Value float64 + func (c *MonitorCondition) UnmarshalJSON(data []byte) error + func (c *MonitorCondition) ValidateMonitorCondition() error + type RecordTransaction struct + AllowOverDraft bool + Amount float64 + Atomic bool + BalanceId string + Currency string + Description string + Destination string + Destinations []model.Distribution + DryRun bool + EffectiveDate *time.Time + Inflight bool + InflightCommitDate string + InflightExpiryDate string + MetaData map[string]interface{} + OverdraftLimit float64 + PreciseAmount *big.Int + Precision float64 + Rate float64 + Reference string + ScheduledFor string + SkipQueue bool + Source string + Sources []model.Distribution + func (t *RecordTransaction) ExactAmount() string + func (t *RecordTransaction) ToTransaction() *model.Transaction + func (t *RecordTransaction) UnmarshalJSON(data []byte) error + func (t *RecordTransaction) ValidateRecordTransaction() error + type TokenizeRequest struct + Fields []string + type UpdateBalanceIdentity struct + IdentityId string + type UpdateLedger struct + Name string + func (l *UpdateLedger) ValidateUpdateLedger() error