Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate(walletz core.WalletService, system *core.System) http.HandlerFunc
HandleCreate godoc @Summary request payment code @Description @Tags actions @Accept json @Produce json @Param request body CreateRequest false "request payments" @Success 200 {object} CreateResponse @Router /actions [post]
Types ¶
type CreateRequest ¶
type CreateRequest struct { // follow id to track tx (uuid) FollowID string `json:"follow_id,omitempty" format:"uuid" valid:"uuid,required"` // tx parameters Parameters []string `json:"parameters,omitempty" valid:"required"` // payment asset id (optional) AssetID string `json:"asset_id,omitempty" format:"uuid"` // payment amount (optional) Amount decimal.Decimal `json:"amount,omitempty" swaggertype:"number"` }
type CreateResponse ¶
Click to show internal directories.
Click to hide internal directories.