Donations

This endpoint is used for fetching donations.

POST/donations

Lookup

Fetch the amount a specific user has donated.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found on our dashboard.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

Response

  • Name
    userId
    Type
    string
    Description

    The ID of the Roblox user.

  • Name
    amount
    Type
    integer
    Description

    The total amount this user has donated.

Request

POST
/donations
curl -G https://papi.easypos.lol/donations \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123

Response

{
  "userId" (string),
  "amount" (integer)
}



POST/donations/leaderboard

Leaderboard

Shows the top 10 donations on the key.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found on our dashboard.

Response

  • Name
    donations
    Type
    array
    Description
  • Name
    userId
    Type
    string
    Description

    The ID of the Roblox user.

  • Name
    amount
    Type
    integer
    Description

    The total amount this user has donated.

Request

POST
/donations/leaderboard
curl -G https://papi.easypos.lol/donations/leaderboard \
  -H "Content-Type: application/json" \
  -d token="..."

Response

{
  "donations": [
    {
      "userId" (string),
      "amount" (integer)
    }
  ]
}