Liquidity

Submit order (may include on_behalf_of + signature headers)

post/v1/orders

Request

  • Base URL: https://api.predictasiax.com
  • URL: https://api.predictasiax.com/v1/orders
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required
X-PAX-Order-Sigstring

Request body

user_idstring required
subaccount_idstring
market_idstring required
side'yes' | 'no' | 'buy' | 'sell' required

Trade side. yes/no picks the outcome; buy/sell picks the action against the current outcome. Both forms accepted for backward compatibility (see apps/api/src/index.ts validate).

pricestring required

Decimal string with up to 6 fractional digits

sizestring required

Decimal string with up to 6 fractional digits

client_order_idstring required
execution_builder_idstring required
app_idstring required
campaign_idstring
attribution_versioninteger required
builder_fee_bpsinteger
expires_at_msinteger

Example request

{
  "user_id": "bld_abc123def456",
  "subaccount_id": "bld_abc123def456",
  "market_id": "pax:market:btc-above-150k-20261231",
  "price": "1234.5678",
  "size": "1234.5678",
  "execution_builder_id": "bld_abc123def456",
  "app_id": "bld_abc123def456"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.