Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateEpusdtPaymentResponse ¶
type CreateEpusdtPaymentResponse struct { StatusCode int `json:"status_code"` Message string `json:"message"` RequestId string `json:"request_id"` Data struct { TradeId string `json:"trade_id"` OrderId string `json:"order_id"` Amount float64 `json:"amount"` ActualAmount float64 `json:"actual_amount"` Token string `json:"token"` ExpirationTime int64 `json:"expiration_time"` PaymentUrl string `json:"payment_url"` } `json:"data"` }
func CreateEpusdtPayment ¶
func CreateEpusdtPayment(orderNo string, usdtAmount float64, notifyUrl string) (result CreateEpusdtPaymentResponse, err error)
func CreatePayOrder ¶
type CreateOrderResponse ¶
type CreateOrderResponse struct { Token string `json:"token"` ActualAmount float64 `json:"actual_amount"` }
func CreateOrder ¶
func CreateOrder(order *model.Order) (result CreateOrderResponse, err error)
func CreateRechargeOrder ¶
func CreateRechargeOrder(v *model.Recharge) (result CreateOrderResponse, err error)
Click to show internal directories.
Click to hide internal directories.