Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateStaticWallet(ctx context.Context, request *suwardsdkgo.CryptopayCreateStaticWalletRequest, ...) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
- func (c *Client) DeleteStaticWallet(ctx context.Context, ...) (map[string]bool, error)
- func (c *Client) GetStaticWallet(ctx context.Context, ...) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
- func (c *Client) GetStaticWalletDeposit(ctx context.Context, ...) (*suwardsdkgo.CryptopayStaticDepositResponse, error)
- func (c *Client) ListStaticWalletDeposits(ctx context.Context, ...) (*suwardsdkgo.CryptopayListStaticDepositsResponse, error)
- func (c *Client) ListStaticWallets(ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsRequest, ...) (*suwardsdkgo.CryptopayListStaticWalletsResponse, error)
- func (c *Client) SimulateStaticWalletDeposit(ctx context.Context, ...) (*suwardsdkgo.CryptopayStaticDepositResponse, error)
- func (c *Client) UpdateStaticWallet(ctx context.Context, request *suwardsdkgo.CryptopayUpdateStaticWalletRequest, ...) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
- type RawClient
- func (r *RawClient) CreateStaticWallet(ctx context.Context, request *suwardsdkgo.CryptopayCreateStaticWalletRequest, ...) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
- func (r *RawClient) DeleteStaticWallet(ctx context.Context, ...) (*core.Response[map[string]bool], error)
- func (r *RawClient) GetStaticWallet(ctx context.Context, ...) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
- func (r *RawClient) GetStaticWalletDeposit(ctx context.Context, ...) (*core.Response[*suwardsdkgo.CryptopayStaticDepositResponse], error)
- func (r *RawClient) ListStaticWalletDeposits(ctx context.Context, ...) (*core.Response[*suwardsdkgo.CryptopayListStaticDepositsResponse], error)
- func (r *RawClient) ListStaticWallets(ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsRequest, ...) (*core.Response[*suwardsdkgo.CryptopayListStaticWalletsResponse], error)
- func (r *RawClient) SimulateStaticWalletDeposit(ctx context.Context, ...) (*core.Response[*suwardsdkgo.CryptopayStaticDepositResponse], error)
- func (r *RawClient) UpdateStaticWallet(ctx context.Context, request *suwardsdkgo.CryptopayUpdateStaticWalletRequest, ...) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) CreateStaticWallet ¶
func (c *Client) CreateStaticWallet( ctx context.Context, request *suwardsdkgo.CryptopayCreateStaticWalletRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
Create a reusable deposit address with an accepted-asset allow-list
func (*Client) DeleteStaticWallet ¶
func (c *Client) DeleteStaticWallet( ctx context.Context, request *suwardsdkgo.DeleteV1StaticWalletsStaticWalletIDRequest, opts ...option.RequestOption, ) (map[string]bool, error)
func (*Client) GetStaticWallet ¶
func (c *Client) GetStaticWallet( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
func (*Client) GetStaticWalletDeposit ¶
func (c *Client) GetStaticWalletDeposit( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDDepositsDepositIDRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayStaticDepositResponse, error)
func (*Client) ListStaticWalletDeposits ¶
func (c *Client) ListStaticWalletDeposits( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDDepositsRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayListStaticDepositsResponse, error)
func (*Client) ListStaticWallets ¶
func (c *Client) ListStaticWallets( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayListStaticWalletsResponse, error)
func (*Client) SimulateStaticWalletDeposit ¶
func (c *Client) SimulateStaticWalletDeposit( ctx context.Context, request *suwardsdkgo.CryptopaySimulateStaticDepositRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayStaticDepositResponse, error)
Drive a synthetic deposit through its lifecycle on a test wallet (no on-chain activity, no balance credit). Test wallets only.
func (*Client) UpdateStaticWallet ¶
func (c *Client) UpdateStaticWallet( ctx context.Context, request *suwardsdkgo.CryptopayUpdateStaticWalletRequest, opts ...option.RequestOption, ) (*suwardsdkgo.CryptopayStaticWalletResponse, error)
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) CreateStaticWallet ¶
func (r *RawClient) CreateStaticWallet( ctx context.Context, request *suwardsdkgo.CryptopayCreateStaticWalletRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
func (*RawClient) DeleteStaticWallet ¶
func (r *RawClient) DeleteStaticWallet( ctx context.Context, request *suwardsdkgo.DeleteV1StaticWalletsStaticWalletIDRequest, opts ...option.RequestOption, ) (*core.Response[map[string]bool], error)
func (*RawClient) GetStaticWallet ¶
func (r *RawClient) GetStaticWallet( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
func (*RawClient) GetStaticWalletDeposit ¶
func (r *RawClient) GetStaticWalletDeposit( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDDepositsDepositIDRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayStaticDepositResponse], error)
func (*RawClient) ListStaticWalletDeposits ¶
func (r *RawClient) ListStaticWalletDeposits( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsStaticWalletIDDepositsRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayListStaticDepositsResponse], error)
func (*RawClient) ListStaticWallets ¶
func (r *RawClient) ListStaticWallets( ctx context.Context, request *suwardsdkgo.GetV1StaticWalletsRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayListStaticWalletsResponse], error)
func (*RawClient) SimulateStaticWalletDeposit ¶
func (r *RawClient) SimulateStaticWalletDeposit( ctx context.Context, request *suwardsdkgo.CryptopaySimulateStaticDepositRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayStaticDepositResponse], error)
func (*RawClient) UpdateStaticWallet ¶
func (r *RawClient) UpdateStaticWallet( ctx context.Context, request *suwardsdkgo.CryptopayUpdateStaticWalletRequest, opts ...option.RequestOption, ) (*core.Response[*suwardsdkgo.CryptopayStaticWalletResponse], error)
Click to show internal directories.
Click to hide internal directories.