Currencies

Currencies are the in-game currency used by players in order to purchase items for their in-game account. On this page, we'll dive into the different currency endpoints you can use to manage currencies programmatically. We'll look at how to query currencies.

The currency model

The comment model contains all the information about your comments, such as their content, and reactions.

Properties

  • Name
    id
    Type
    integer
    Description

    Unique identifier for the currency.

  • Name
    name
    Type
    string
    Description

    Name for the currency.

  • Name
    singular_name
    Type
    string
    Description

    Singular name for the currency.

  • Name
    icon_url
    Type
    string
    Description

    Icon URL for the currency.

  • Name
    map_url
    Type
    string
    Description

    Map URL for the currency.


GET/currencies

List all currencies

This endpoint allows you to retrieve a list of all the currencies.

Request

GET
/currencies
curl -G https://prod-app.themeparkshark.com/api/currencies \
-H "Accept: application/json"

Response

{
  "data": [
    {
      "id": 1,
      "name": "Coins",
      "singular_name": "Coin",
      "icon_url": "https://assets.themeparkshark.com/mobile/production/assets/image.png",
      "map_url": "https://assets.themeparkshark.com/mobile/production/assets/image.png"
    },
    // ...
  ]
}

Was this page helpful?