Skip to content

Create

Insert a new currency for the currently authenticated player.

HTTP request

POST https://megamify.com/api/v1/player/currency/

Headers

See Security section of the API Reference.

Body

Name Required Type Description
game True int The Game ID
player True int The Player ID
currency True int The Currency ID
amount True int The new currency amount

Response

Status: 201 Created

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