Skip to main content
POST
/
moscowroleplay
/
civops
/
government
curl --request POST \
  --url https://api.erlcrussia.xyz/v2/moscowroleplay/civops/government \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 50000
}
'
{
  "success": true,
  "added": 50000,
  "newBalance": {
    "bank": 5050000
  }
}

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:
addMoney,
removeMoney,
withdraw

Body

application/json

The body is of type object.

Response

Operation successfully completed.

The response is of type object.