post

markets/buy/{pair}

you have to put JWT token in headers. this API use for trading buy

Request Parameters

1 Path Parameter
1 Header

Request Body

1 Example
Schema
object
position
integer
amount
integer

Responses

1 Example
Schema
object
success
boolean
data
object
id
integer
user_id
integer
type
string
position
integer
amount
integer
result_including_fee
integer
status
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
pair
$$.env
No $$.env variables are being used in this request.