Query Withdrawal Status
Status: Implemented.
GET /v1/withdrawals/{wid}
Look up one of the caller's withdrawals by ID.
Auth: Authorization: Bearer <session_token> (see place-order). Only withdrawals belonging to the session's user are visible; anyone else's ID returns 404.
Request
GET /v1/withdrawals/{wid}
Authorization: Bearer <session_token>
wid is the withdrawal_id returned by request-withdrawal.
Response — 200
{
"withdrawal_request_id": "8c9a1f2e-7b6d-5c4a-3b2c-1d0e9f8a7b6c",
"withdrawal_id": "8c9a1f2e-7b6d-5c4a-3b2c-1d0e9f8a7b6c",
"status": "submitted",
"asset": "CC",
"amount": "10.0",
"fee_asset": "CC",
"fee_wallet_symbol": "CC",
"fee_amount": "0.0000142858"
}
status is the live ledger state: one of pending, submitted, settled, failed.
Errors (plain-text body): 400 malformed UUID, 401 missing/invalid session token, 404 withdrawal not found, 500 DB error.