LogoLogo
  • Home Page
  • Documentation
    • API Overview
    • Partner API Authentication
    • Onboarding
    • Partner Webhooks
    • Status Codes for Financial Operations
    • Prices
  • WEBSOCKETS
    • Websocket Prices
      • Prices
      • Schemas
  • API REFERENCE
    • Authorization
      • Schemas
    • User Management
      • Users
      • Schemas
    • Customers
      • General
      • Legal Entities
      • Natural Persons
      • Customer Labels
      • Search Nace Sectors
      • Onboarding Wizard
      • Schemas
    • Documents
      • Documents
      • Schemas
    • Onboardings
      • Onboarding
      • Offboarding
      • Schemas
    • Products
      • General
      • Schemas
    • Asset Management
      • Trading
        • Assets
        • Schemas
      • Digital assets
        • Create Order
        • General
        • Assets
        • Schemas
      • Strategy
        • Schemas
    • Transaction History
      • Schemas
    • Transfers
      • General
      • Create Incoming Test Transfer
      • Schemas
    • Partner Documents
      • Schemas
    • Webhooks
      • Schemas
  • PARTNER APIS
    • Partner Webhooks
      • Schemas
Powered by GitBook
On this page
  1. API REFERENCE
  2. Asset Management
  3. Digital assets

Create Order

Last updated 6 days ago

  • POSTAccept Quote
  • POSTCreate Market 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
400
Bad Request
application/json
409
Conflict
application/json
post
POST /digital/orders/quote HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
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-05-23T00:34:50.097Z"
}

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
400
Bad Request
application/json
409
Conflict
application/json
post
POST /digital/orders/market HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
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-05-23T00:34:50.097Z"
}