Add¶
Increase a player currency with the given ID.
HTTP request¶
PUT https://megamify.com/api/v1/player/currency/:player_currency_id/add/
Parameters¶
Name | Required | Type | Description |
---|---|---|---|
player_currency_id | True | int | The PlayerCurrency ID |
Headers¶
See Security section of the API Reference.
Body¶
Name | Required | Type | Description |
---|---|---|---|
amount | True | int | The amount to be added |
Response¶
Status: 200 OK
If successful, this method returns a PlayerCurrency object in the response body.