TypeScript SDK - Create Order
swap-orders
Create Swap Order
Create a new swap order with on-chain or Lightning settlement
POST
TypeScript SDK - Create Order
Documentation Index
Fetch the complete documentation index at: https://docs.kaleidoswap.com/llms.txt
Use this file to discover all available pages before exploring further.
Settlement Types
- LIGHTNING: Instant settlement via Lightning Network
- ONCHAIN: Settlement via on-chain Bitcoin transaction
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
RFQ ID cannot be empty
Minimum string length:
1Input type: ONCHAIN or LIGHTNING
Available options:
LIGHTNING, ONCHAIN Output type: ONCHAIN or LIGHTNING
Available options:
LIGHTNING, ONCHAIN Optional email for notifications
Response
Successful Response
Available options:
LIGHTNING, ONCHAIN Available options:
OPEN, PENDING_PAYMENT, PAID, EXECUTING, FILLED, CANCELLED, EXPIRED, FAILED, PENDING_RATE_DECISION