Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A Lean API key, sent as Authorization: Bearer <key>. A test key (lean_sk_test_...) simulates orders and fills with no money; a live key (lean_sk_live_...) trades for real within the key's limits. Every successful response says which mode answered in data.livemode.

Path Parameters

id
string<uuid>
required

Lean RFQ id returned by POST /v1/rfqs.

Body

application/json
quote_id
string
required

The quote id from the RFQ quotes array.

Required string length: 1 - 200
price_usd
string
required

The exact price_usd of the quote being accepted; refused if the maker moved the price.

Response

Acceptance result with order id or rejection reason

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required