Skip to main content
POST
/
moscowroleplay
/
civops
/
economy
curl --request POST \
  --url https://api.erlcrussia.xyz/v2/moscowroleplay/civops/economy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromUserId": "1027118272879009886",
  "toUserId": "1133665013794607114",
  "amount": 100000
}
'
{
  "success": true,
  "fromUserId": "1027118272879009886",
  "toUserId": "1133665013794607114",
  "amount": 100000,
  "newBalance": {
    "cash": 104000,
    "bank": 10000
  }
}

Authorizations

Authorization
string
header
required

API key for accessing CivOps endpoints.

Passed in the Authorization: Bearer <key> header.

REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).

Query Parameters

action
enum<string>
required

Operation type.

Available options:
transfer,
deposit,
withdraw,
add,
remove,
reset,
resetCooldown

Body

application/json

The body is of type object.

Response

Operation successfully completed.

The response is of type object.