Endpoint POST API Economia
Operazioni sul Governo
Manage government finances and transfers.
Available actions:
addMoney- add money to budget (requires amount).removeMoney- remove money from budget (requires amount).withdraw- transfer money from budget to recipient (requires amount, toType, toId, reason, authorId).
toType can be: user, business, mafia
POST
Autorizzazioni
API key for accessing CivOps endpoints.
Passed in the Authorization: Bearer <key> header.
REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).
Parametri della query
Operation type.
Opzioni disponibili:
addMoney, removeMoney, withdraw Corpo
application/json
The body is of type object.
Risposta
Operation successfully completed.
The response is of type object.