Donations

This endpoint is used for fetching donations.

POST/donations/lookup

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
    success
    Type
    boolean
    Description

    Whether the data was successfully fetched.

  • Name
    error
    Type
    string?
    Description

    Returns an error message if the request failed.

  • Name
    data
    Type
    object?
    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/lookup
curl -G https://papi.easypos.lol/donations \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123

Response

{
  "success" (boolean),
  "error" (string?),
  "data": {
    "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
    success
    Type
    boolean
    Description

    Whether the data was successfully fetched.

  • Name
    error
    Type
    string?
    Description

    Returns an error message if the request failed.

  • Name
    data
    Type
    object?
    Description
  • 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

{
  "success" (boolean),
  "error" (string?),
  "data": {
    "donations": [
      {
        "userId" (string),
        "amount" (integer)
      }
    ]
  }
}