Skip to content
Sign up

Sub-accounts

Move money between accounts

Send money or assets from one of your company's accounts to another, at once and free of charge.

POST/api/v1/sub-accounts/transfersGet a key
curl --request POST \
  --url "https://reirex.com/api/v1/sub-accounts/transfers" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE" \
  --header "Content-Type: application/json" \
  --data '{"from":4182736455,"to":7731940025,"currency":"EUR","amount":"5000"}'

201 Createdapplication/json

{
  "reference": "ST-JQWW2HRAQN",
  "from": {
    "uid": 4182736455,
    "subAccountId": null,
    "name": null,
    "deleted": false
  },
  "to": {
    "uid": 7731940025,
    "subAccountId": 12,
    "name": "market_making",
    "deleted": false
  },
  "currency": "EUR",
  "amount": "5000.00",
  "createdAt": "2026-10-14T16:14:15.412Z"
}

Name both ends by UID, as List sub-accounts shows them: the main account's own or a sub-account's. Money only ever moves inside your company, and an account that isn't yours answers not_found.

A frozen sub-account receives nothing and can only send back to the main account. What open orders hold stays where it is until they end.

Bodyapplication/json

  • fromintegerrequired

    The UID that sends.

  • tointegerrequired

    The UID that receives.

  • currencystringrequired

    The currency or instrument, such as EUR or BTC.

  • amountstringrequired

    How much, as a decimal string.

Response

  • referencestring

    Our reference for the transfer.

  • fromobject

    The account that sent it.

  • toobject

    The account that received it.

  • currencystring

    The currency or instrument that moved.

  • amountstring

    How much moved.

  • createdAtstring

    When it moved.