POST
Prepare quote lines

Authorizations

Authorization
string
header
required

From POST /v1/auth/verify; seven days by default, revocable. Required for financial operations. 60 requests/s, burst 120, shared by the user's sessions.

Body

application/json
expected_revision
string
required

The lines' revision; STATE_CONFLICT if it changed by preparation or publication.

Pattern: ^[0-9]+$
valid_until
integer
required

Last admission time, within the next 300 s; 253402214400 (never) for the browser identity.

Required range: x >= 0
lines
object[]
required

Every line of the identity, one per venue; a venue left out is removed.

quote_identity_id
string<uuid>

The identity; the browser identity by default, a credential's own with a credential.

Response

The drafts to sign.

id
string<uuid>
required
quote_identity_id
string<uuid>
required
expected_revision
string
required

Non-negative 64-bit integer as a decimal string; keep it lossless.

Pattern: ^[0-9]+$
valid_until
integer
required

Unix seconds.

Required range: x >= 0
lines
object[]
required

The lines, normalized and sorted by venue id.

drafts
object[]
required
cancels
string[]
required

The pools whose quotes publication pulls.

Pattern: ^0x[0-9a-fA-F]{64}$