POST
Place an order

Authorizations

Authorization
string
header
required

Master session from POST /v1/auth/verify. Revocable; expires after seven days by default. Required for financial operations.

Body

application/json
venue
string
required

Supply venue: funds the order and pays takers.

amount
string
required

Supplied amount in venue base units; at least 5,000,000.

Pattern: ^[0-9]{1,78}$
receive_venue
string
required

Venue the maker receives on.

receive
string
required

What the maker wants for the whole amount, in receive_venue base units; the price is receive / amount.

Pattern: ^[0-9]{1,78}$
min_fill
string
required

Smallest fill in venue base units: at least 1,000,000, at most fill_max and amount.

Pattern: ^[0-9]{1,78}$
client_order_id
string

Persist before the first attempt. Unique per user and resource type; reuse with other parameters returns 409 STATE_CONFLICT. When omitted, the server assigns a UUID and a lost response cannot be recovered by id.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9_.:-]+$
quote_identity_id
string<uuid>

Delegated identity that quotes the order; it gets no initial quote. Default: the master's browser identity.

quote_validity_seconds
integer
default:0

Initial admission window, counted from preparation; if funding outlasts it, quote again once live. 0 means Never (valid_until 253402214400) for a browser order.

Required range: 0 <= x <= 300

Response

Existing resource for this client_order_id.

order
object
required
to_sign
object[]
required