Create Order

Accept Quote

post

Accept a quote and place the order.

With having the quote ready for accepting we're going to initiate a transaction pipeline on completion(or failure) of which the partner will be notified by webhook.

Authorizations
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
quoteIdstring · uuidRequired

Quote Id

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
POST /digital/orders/quote HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 198

{
  "quoteId": "123e4567-e89b-12d3-a456-426614174000",
  "externalId": "text",
  "walletCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "createdOn": "2025-07-05T00:35:05.247Z"
}

Create Market Order

post

Create order.

Authorizations
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
cryptoSymbolstringRequired
tradeSidestring · enumRequiredPossible values:
quantityTypestring · enumRequiredPossible values:
quantitynumberRequired
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
POST /digital/orders/market HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 172

{
  "cryptoSymbol": "BTC",
  "tradeSide": "BUY",
  "quantity": 1,
  "quantityType": "UNIT",
  "externalId": "unique-external-id",
  "cashCustomerProductId": "714e1ee5-c723-476c-b1db-4d29cd7a0e17"
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "createdOn": "2025-07-05T00:35:05.247Z"
}

Last updated