Withdrawals
Last updated
Withdrawals deduct mUSD (mUsdBalance) and return cash tokens to the user. They may complete instantly if the token withdrawal buffer has enough liquidity; otherwise they are queued for final cash settlement. See buffer-mechanism.md.
POST /api/v1/cash/withdrawals/calldatauserAddress
string
Yes
User wallet.
tokenAddress
string
Yes
Cash token address.
creditAmount
string / number
Yes
Credit to withdraw (human-readable).
Returns method: withdraw, value: "0".
POST /api/v1/cash/withdrawals/sendSame body fields as calldata (no userAddress in body — uses API key bound address). Optional gasLimit.
Requires One Click enabled — see trading/one-click-delegated.md.
POST /api/v1/cash/withdrawals/txtxHash
string
Yes
Withdrawal tx hash.
See operation-status.md for response fields.
Last updated
GET /api/v1/cash/withdrawals?page=1&limit=10
GET /api/v1/cash/withdrawals/{operationId}
