Skip to main content

POST /v1/execute

Submits a firm quote for atomic on-chain settlement. The swap settles on the Kaia blockchain and the output stablecoin is delivered to the destination address you specify.
Execution is irreversible once confirmed on-chain. Verify the quote_id, amount, and destination_address before submitting.

Request body

string
required
Quote ID from POST /v1/firm-quote. The quote must not have expired.
number
required
Execution amount in the source currency. Must be less than or equal to max_size from the firm quote response.
string
required
Kaia wallet address to receive the output stablecoin.
string
Optional partner-side reference for reconciliation.

Response 200 OK

string
Unique execution identifier. Use this for settlement reconciliation and webhook correlation.
string
The firm quote that was executed.
string
SETTLED confirms the swap is confirmed on-chain.
number
Actual execution rate applied to the swap.
number
Amount debited in the source currency.
number
Amount credited in the destination currency, delivered to destination_address.
number
Total platform fee in the source currency.
string
Kaia blockchain transaction hash. Use this to verify settlement on-chain.
string
ISO 8601 timestamp of on-chain settlement.
string
Routing path used: DIRECT or EXTERNAL_RFQ.
string
System state at time of execution.

GET /v1/system/state

Returns the current operating state for each corridor. Call this endpoint before requesting quotes to verify corridor availability, or use it to power status indicators in your UI.

Response 200 OK

string
Overall system state, reflecting the highest severity state across all corridors.
object
Per-corridor state detail, keyed by currency pair.

State definitions

When a corridor is in HALT state, POST /v1/firm-quote returns a QUOTE_HALTED error for that corridor. Use this endpoint to monitor recovery before retrying.