Skip to main content
POST
/
api
/
v1
/
swaps
/
orders
/
status
Get Swap Order Status
curl --request POST \
  --url https://api.staging.kaleidoswap.com/api/v1/swaps/orders/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_id": "<string>"
}
'
{
  "order_id": "<string>",
  "status": "OPEN",
  "order": {
    "id": "<string>",
    "rfq_id": "<string>",
    "side": "BUY",
    "from_type": "LIGHTNING",
    "from_asset": "<string>",
    "from_amount": 100000,
    "to_type": "LIGHTNING",
    "to_asset": "<string>",
    "to_amount": 100000,
    "price": 123,
    "pay_in": "LIGHTNING",
    "pay_out": "LIGHTNING",
    "maker_pubkey": "<string>",
    "ln_invoice": "<string>",
    "onchain_address": "<string>",
    "min_onchain_conf": 123,
    "rgb_recipient_id": "<string>",
    "rgb_invoice": "<string>",
    "dest_bolt11": "<string>",
    "dest_onchain_address": "<string>",
    "dest_rgb_invoice": "<string>",
    "refund_address": "<string>",
    "payment_hash": "<string>",
    "payment_secret": "<string>",
    "swapstring": "<string>",
    "status": "OPEN",
    "created_at": 123,
    "expires_at": 123,
    "filled_at": 123,
    "refund_txid": "<string>",
    "requires_manual_refund": false,
    "payment_status": "NOT_PAID",
    "payment_difference": 123,
    "last_payment_check": 123,
    "email": "<string>",
    "failure_reason": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
order_id
string
required

Response

Successful Response

order_id
string
required
status
enum<string>
required
Available options:
OPEN,
PENDING_PAYMENT,
PAID,
EXECUTING,
FILLED,
CANCELLED,
EXPIRED,
FAILED,
PENDING_RATE_DECISION
order
SwapOrder · object
required