Orders

Create market order

post
/wawex/orders/market

Create a new market order

Authorizations
Body
symbolstringRequired

Trading symbol

quantitynumber · decimalRequired

Order quantity

quantityTypestring · enumRequiredPossible values:
sidestring · enumRequiredPossible values:
externalIdstringRequired

External Id in partner's system. This value has to be unique

walletCustomerProductIdstring · uuidRequired

Wallet customer product used for the order.

cashCustomerProductIdstring · uuidRequired

Cash customer product used for the order.

Responses
200

OK

application/json
post
/wawex/orders/market
POST /wawex/orders/market HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "symbol": "text",
  "quantity": 1,
  "quantityType": "UNIT",
  "side": "buy",
  "externalId": "text",
  "walletCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "createdOn": "2025-10-23T18:04:52.746Z"
}

Get an order

get
/wawex/orders/{id}

Get order details by ID

Authorizations
Path parameters
idstring · uuidRequired

Order ID

Responses
200

OK

application/json
get
/wawex/orders/{id}
GET /wawex/orders/{id} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": "RECEIVED",
  "side": "buy",
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "walletCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "message": "text",
  "createdOn": "2025-10-23T18:04:52.746Z",
  "modifiedOn": "2025-10-23T18:04:52.746Z",
  "externalId": "text",
  "marketOrderData": {
    "symbol": "text",
    "quantityType": "UNIT",
    "quantity": 1,
    "assetType": "CRYPTOCURRENCY"
  },
  "executionData": {
    "quantity": 1,
    "executionPrice": 1,
    "executionAmount": 1
  },
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000"
}

Get list of orders

get
/wawex/orders

Get list of orders with optional filtering

Authorizations
Query parameters
cursorstringOptional

String value used for pagination

limitinteger · min: 1Optional

Maximum number of items to return

Default: 20
externalIdstringOptional

External Id in partner's system. This value has to be unique

startCreatedOnstring · date-timeOptional

Display orders created on or after this date

endCreatedOnstring · date-timeOptional

Display orders created on or before this date

Responses
200

OK

application/json
get
/wawex/orders
GET /wawex/orders HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "status": "RECEIVED",
      "side": "buy",
      "orderId": "123e4567-e89b-12d3-a456-426614174000",
      "walletCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
      "message": "text",
      "createdOn": "2025-10-23T18:04:52.746Z",
      "modifiedOn": "2025-10-23T18:04:52.746Z",
      "externalId": "text",
      "marketOrderData": {
        "symbol": "text",
        "quantityType": "UNIT",
        "quantity": 1,
        "assetType": "CRYPTOCURRENCY"
      },
      "executionData": {
        "quantity": 1,
        "executionPrice": 1,
        "executionAmount": 1
      },
      "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "pagination": {
    "cursor": "text",
    "limit": 1
  }
}

Get order receipt

get
/wawex/orders/{id}/receipt

Get trade receipt details

Authorizations
Path parameters
idstring · uuidRequired

Order identifier

Responses
200

OK

application/pdf
Responsestring · binary
get
/wawex/orders/{id}/receipt
GET /wawex/orders/{id}/receipt HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated