wallet.add
administrator scope
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Key | Type | Description | Default | Required |
|---|---|---|---|---|
| amount | number | The ammount of money to add to the player (max: 1000, max decimal places: 2) |
❌ | ✅ |
| reason | string | The reason of the add (min length: 20, max length: 255) |
❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
BAD_BODY |
The request body is invalid | |
INVALID_AMOUNT |
The value amount doesn't follow the requirements |
|
INVALID_REASON |
The value reason doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
wallet.remove
administrator scope
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Key | Type | Description | Default | Required |
|---|---|---|---|---|
| amount | number | The ammount of money to remove from the player (max: 100, max decimal places: 2) |
❌ | ✅ |
| reason | string | The reason of the remove (min length: 20, max length: 255) |
❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
BAD_BODY |
The request body is invalid | |
INVALID_AMOUNT |
The value amount doesn't follow the requirements |
|
INVALID_REASON |
The value reason doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
NOT_ENOUGH_MONEY |
The player doesn't have enough money | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
wallet.set
administrator scope
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Key | Type | Description | Default | Required |
|---|---|---|---|---|
| amount | number | The ammount of money to set to the player (max: 1000, max decimal places: 2) |
❌ | ✅ |
| reason | string | The reason of the set (min length: 20, max length: 255) |
❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
BAD_BODY |
The request body is invalid | |
INVALID_AMOUNT |
The value amount doesn't follow the requirements |
|
INVALID_REASON |
The value reason doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"