curl --request GET \
--url https://gateway.varchev.com/wallet/{walletId}/trading/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>'
{
"id": "<string>",
"volume": "<string>",
"price": "<string>",
"status": "created",
"OrderType": "buy",
"orderSide": "market",
"pair": "<string>",
"volumeExecuted": "<string>",
"averagePrice": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"totalCost": "<string>",
"fee": "<string>",
"trades": [
{
"id": "<string>",
"executedAt": "2023-11-07T05:31:56Z",
"type": "buy",
"side": "market",
"pair": "<string>",
"price": "<string>",
"volume": "<string>",
"total": "<string>"
}
]
}
curl --request GET \
--url https://gateway.varchev.com/wallet/{walletId}/trading/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>'
{
"id": "<string>",
"volume": "<string>",
"price": "<string>",
"status": "created",
"OrderType": "buy",
"orderSide": "market",
"pair": "<string>",
"volumeExecuted": "<string>",
"averagePrice": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"totalCost": "<string>",
"fee": "<string>",
"trades": [
{
"id": "<string>",
"executedAt": "2023-11-07T05:31:56Z",
"type": "buy",
"side": "market",
"pair": "<string>",
"price": "<string>",
"volume": "<string>",
"total": "<string>"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Get Trading Order Detail
The response is of type object
.