cURL
curl --request POST \ --url https://api.pixusglobal.com/client/order \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "quoteId": "<string>", "fxRate": "<string>" } '
{ "id": "ord_789", "amount": 1000, "symbol": "USDTBRL", "side": "BUY", "price": "<string>", "timestamp": "<string>" }
Cria uma ordem de compra usando um quoteId válido obtido em GET /client/quote. A cotação deve ser usada dentro de 5 segundos.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID da cotação (obtido via GET /client/quote)
8 - 9
Taxa de câmbio
6 - 7
"5.8095"
"10.6792"
Ordem criada com sucesso
"ord_789"
1000
"USDTBRL"
"BUY"
Esta página foi útil?