Skip to main content
Each 4Cx account has a single active player mode at a time:
  • cash — orders settle against your cash balance and liability.
  • coins — orders settle in Gold Coins. See Place coins orders for the full denomination rule.
The current mode is returned as 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 POST
Headers: Authorization, Content-Type: application/json

Errors

Typical flow

  1. Log in and inspect data.user.playerMode from the response.
  2. If you want to take in coins and the user is in cash, POST /user/updateCoinsOrCash with { "playerMode": "coins" }.
  3. Proceed to Place order. See Place coins orders for the denomination rule.
  4. To return to cash trading, repeat with { "playerMode": "cash" }.