Skip to main content
POST
Create run-off claim

Authorizations

Authorization
string
header
required

Scoped API key (ttk_...), created in the Totalis app or by a wallet-session user through the API keys routes with a fresh wallet signature; those routes never accept a key. Each key acts for one account, yours or a maker's, and holds only scopes that account can use. Each operation lists the scopes it requires. Send no Origin.

Headers

Idempotency-Key
string<uuid>
required

Lowercase UUIDv7 naming this command, unique per caller and route. A retry with the same key and body returns the original result; the same key with a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Body

application/json
schema_version
any
required

Envelope format version; always 1.

request_id
string<uuid>
required

Client-generated UUIDv7 for this request, echoed back in error responses.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
sent_at
string<date-time>
required

RFC 3339 UTC time the client sent the request, ending in Z.

Maximum string length: 30
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?Z$
command
object
required

The owner-signed EIP-712 Exit of the account's cash in a vault running off, to the account's own wallet; Totalis relays it and pays the gas.

Response

Claim durably accepted, not yet on chain; it shows as the vault's claim in Get balances until it resolves. Follow its operation with Get operation. An exact replay of the same Idempotency-Key and body returns the stored claim.

vault_address
string
required

The vault running off the cash leaves.

Pattern: ^0x[0-9a-f]{40}$
operation
object
required

The claim's WITHDRAW_USER operation; follow it with Get operation.