Skip to main content
Once you have a firm quote, submit it for execution. The swap settles atomically on the Kaia blockchain — either both sides complete or neither does. Settlement is immediate and irreversible.

Check system state first

Before executing, you can verify corridor availability with the system state endpoint:

State definitions

Poll GET /v1/system/state proactively rather than waiting for 503 errors. This lets you disable corridors in your UI before users encounter failures.

Execute a swap

string
required
The quote_id returned from POST /v1/firm-quote. Each quote ID can only be executed once.
number
required
Execution amount in the source currency. Must be less than or equal to the quote’s max_size.
string
required
On-chain Kaia wallet address to receive the output stablecoin.
string
Your internal reference for reconciliation. Included in webhook payloads and settlement records.

Example request

Response

Response fields

string
Unique execution identifier.
string
The firm quote that was executed.
string
Settlement status. SETTLED means the transaction is confirmed on-chain.
number
Actual execution rate.
number
Amount debited in source currency.
number
Amount credited in destination currency.
number
Total platform fee charged, in source currency.
string
Kaia blockchain transaction hash. Independently verifiable on Kaiascan.
string
ISO 8601 timestamp of on-chain settlement.
string
DIRECT or EXTERNAL_RFQ.
string
System state at the time of execution.

Settlement finality

Execution is irreversible. Once the response returns "status": "SETTLED", the transaction is finalised on the Kaia blockchain. There is no possibility of reversal, partial settlement, or clawback.
The tx_hash can be independently verified on the Kaia block explorer.

Common error cases

See Error handling for the complete error reference.

Next step

Settlement status is also delivered asynchronously via webhook. Set up your webhook handler to receive real-time confirmations. Settlements & webhooks →