Check system state first
Before executing, you can verify corridor availability with the system state endpoint:State definitions
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
ISO 8601 timestamp of on-chain settlement.
string
DIRECT or EXTERNAL_RFQ.string
System state at the time of execution.
Settlement finality
Thetx_hash can be independently verified on the Kaia block explorer.
Common error cases
See Error handling for the complete error reference.