account

package
v1.36.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPasswordMinLength = errors.New("password needs to be atleast 6 characters")
	ErrPasswordMismatch  = errors.New("passwords need to match")
)

Copy to Hanzo

View Source
var ErrorAccountNotWithdrawable = errors.New("account not withdrawable")
View Source
var ErrorInsufficientFunds = errors.New("source has insufficient funds")
View Source
var ErrorInvalidPaymentMethod = errors.New("invalid payment method")
View Source
var ErrorMissingCredentials = errors.New("missing credentials")

Functions

func Route

func Route(router router.Router, args ...gin.HandlerFunc)

Types

type CreateReq

type CreateReq struct {
	PublicToken string     `json:"publicToken"`
	AccountId   string     `json:"accountId"`
	Name        string     `json:"name"`
	Metadata    RawMessage `json:"metadata"`
}

type Referrent

type Referrent struct {
	// contains filtered or unexported fields
}

func (*Referrent) Id

func (r *Referrent) Id() string

func (*Referrent) Kind

func (r *Referrent) Kind() string

func (*Referrent) Total

func (r *Referrent) Total() currency.Cents

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL