Skip to content

Subtract

Decrease a player currency with the given ID.

HTTP request

PUT https://megamify.com/api/v1/player/currency/:player_currency_id/subtract/

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 subtracted

Response

Status: 200 OK

If successful, this method returns a PlayerCurrency object in the response body.