Change Demo Balance

### Change the demo account cash balance in a single request. Call this to quickly increase or reset **simulated** cash on a demo account you are permitted to act on. The amount you send replaces the current demo balance. For org-wide or higher-volume admin workflows, use `adjustCash` instead, which is restricted to administrators with appropriate Funds access and can support an audit `comment` and a specified `currencyId`.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
accountIdlongRequired
cashChangedoubleRequired<=1000000
commentstringOptional<=64 characters

Response

CashBalanceSnapshot
errorTextstring<=8192 characters

Non-empty if the request failed

totalCashValuedouble
totalPnLdouble
initialMargindouble
maintenanceMargindouble
netLiqdouble
openPnLdouble
realizedPnLdouble
weekRealizedPnLdouble
withdrawalRejectReasonenum
NoData, PendingContactInfoChange
Allowed values:
currencyCashAvailWithdrawalUSDdouble
netLiqSODdouble
totalCashValueSODdouble
cashUSDdouble
cashSODUSDdouble
fullInitialMargindouble
fullInitialMarginSODdouble
autoLiqLeveldouble