Versions in this module Expand all Collapse all v1 v1.1.0 Jun 11, 2022 v1.0.1 Jun 10, 2022 Changes in this version + type Client struct + APIKEY string + func NewClient(apikey string, isTest bool) Client + func (c *Client) CreatePayment(orderId string, amount int64, callBack string, name string, phone string, ...) CreatePaymentRes + func (c *Client) SetHost(host string) + func (c *Client) Verify(id string, orderId string) VerifyRes + type CreatePaymentReq struct + Amount int64 + Callback string + Desc string + Mail string + Name string + OrderId string + Phone string + type CreatePaymentRes struct + ErrorCode int + ErrorMessage string + Id string + Link string + ReqStatus requestStatus + type VerifyReq struct + Id string + OrderId string + type VerifyRes struct + Amount int64 + Date int64 + ErrorCode int + ErrorMessage string + Id string + OrderId string + Payment payment + ReqStatus requestStatus + Status int + TrackId int32 + Verify verify