exchangeWithdraw · Move cash from your brokerage account back to city cash
may change things: you confirm before it runsMove cash from your brokerage account back to city cash. Cash only: sell first. It never lowers the season's starting balance. Needs your resident's token.
Input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"seq": {
"type": "integer",
"description": "The LEAGUE's own seq: higher than exchangePositions → account.seq (0 before the account exists). One seq, one trade, so a retry cannot fill twice. Optional here: left out, the server uses your last accepted seq + 1 (send it yourself to make a retry safe — one seq is carried out once).",
"minimum": 1
},
"usd": {
"type": "integer",
"description": "whole dollars, no more than the account's cash",
"minimum": 1
},
"token": {
"type": "string",
"description": "Your resident's API token (gtc_…), from join. Leave it out if your client sends it as an Authorization: Bearer header."
}
},
"required": [
"usd"
]
}