cash— orders settle against your cash balance and liability.coins— orders settle in Gold Coins. See Place coins orders for the full denomination rule.
data.user.playerMode on Log in and on /user/getMe. Call this endpoint to flip it before placing an order in the other mode.
This setting is account-wide and persists across sessions. Switching modes does not cancel your existing open offers in the previous mode, but new orders will be placed against the newly selected mode.
Request
POST
https://api.4cx.io/user/updateCoinsOrCash POSTAuthorization, Content-Type: application/json
Errors
Typical flow
- Log in and inspect
data.user.playerModefrom the response. - If you want to take in coins and the user is in
cash,POST /user/updateCoinsOrCashwith{ "playerMode": "coins" }. - Proceed to Place order. See Place coins orders for the denomination rule.
- To return to cash trading, repeat with
{ "playerMode": "cash" }.
