LeaderOS API
  • 👋Getting Started
    • Introduction
    • Authentication
  • 🔐Auth
    • Login
    • Register
    • Sessions
  • 🧑‍🦱Users
    • Profiles
    • Roles
    • Tickets
    • Orders
  • 🛍️Store
    • Listing
    • Products
    • Categories
    • Buy
    • Donations
  • 🍏Bazaar
    • Player Storages
    • Servers
  • 🚨Support
    • Tickets
    • Messages
    • Categories
    • Quick Answers
  • 🪙Credits
    • Show Credits
    • Add Credits
    • Remove Credits
    • Send Credits
    • Set Credits
  • 👍Vote
    • Vote Links
  • 🎮Discord
    • Users
    • Settings
    • Roles
Powered by GitBook
On this page
  1. Store

Donations

Get donations.

GET https://yourwebsite.com/api/store/donations

Query Parameters

Name
Type
Description

type*

String

Values: "top-alltime", "top-annual", "top-monthly", "top-daily", "latest"

limit

Integer

[
    {
        "display_name": "LeaderOS",
        "username": "leaderos",
        "total": "5.00 GBP",
        "raw_total": "5.00",
        "currency": "GBP",
        "date": "2023-09-13 23:35:12"
    },
    {
        "display_name": "Geyik",
        "username": "geyik",
        "total": "15.00 GBP",
        "raw_total": "15.00",
        "currency": "GBP",
        "date": "2023-10-13 23:35:12"
    }
]
{
    "status": false,
    "error": "INVALID_TYPE",
    "message": "Invalid type!"
}
{
    "status": false,
    "error": "INVALID_LIMIT",
    "message": "Invalid limit!"
}
PreviousBuyNextBazaar

Last updated 4 months ago

🛍️