Documentation ¶
Index ¶
- func HeaderSignature(apiKey, secret, path, nonce string, params []Param) string
- func Mux(handler http.Handler) http.Handler
- func Nonce() string
- func TransactionSignature(secret string, params []Param) string
- func ValidateRequest(req *http.Request) error
- type Client
- func (c *Client) CreateNewPayment(params []Param) (Response, error)
- func (c *Client) GetAccountStatus() (Response, error)
- func (c *Client) GetDepositDetails() (Response, error)
- func (c *Client) GetPaymentCommissionAmount(params []Param) (Response, error)
- func (c *Client) GetPaymentHistory() (Response, error)
- func (c *Client) GetPaymentStatus(params []Param) (Response, error)
- type Param
- type Response
- type ResponseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderSignature ¶
func TransactionSignature ¶
func ValidateRequest ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateNewPayment ¶
func (*Client) GetAccountStatus ¶
func (*Client) GetDepositDetails ¶
func (*Client) GetPaymentCommissionAmount ¶
func (*Client) GetPaymentHistory ¶
type ResponseError ¶
type ResponseError struct {
// contains filtered or unexported fields
}
func (*ResponseError) Error ¶
func (re *ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.