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.
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
fromintegerrequiredThe UID that sends.
tointegerrequiredThe UID that receives.
currencystringrequiredThe currency or instrument, such as
EURorBTC.amountstringrequiredHow much, as a decimal string.
Response
referencestringOur reference for the transfer.
fromobjectThe account that sent it.
toobjectThe account that received it.
currencystringThe currency or instrument that moved.
amountstringHow much moved.
createdAtstringWhen it moved.

