Skip to main content
POST
Market order by token ID

Authorizations

x-api-key
string
header
required

Required for order endpoints. Obtain your API key from the Vatic dashboard.

Body

application/json
walletId
string<uuid>
required
tokenId
string
required
side
enum<string>
required
Available options:
BUY,
SELL
amount
number
required

USDC (BUY) or shares (SELL).

negRisk
boolean

Optional — auto-detected if omitted.

orderType
enum<string>
default:FOK
Available options:
FOK,
FAK

Response

Order result