Listing

get
Get listing

https://plugin.tebex.io/listing
Get the categories and packages which should be displayed to players in game. The returned order of this endpoint does not reflect the desired order of the category/packages - please order based on the order object.
Request
Response
Headers
X-Tebex-Secret
required
string
The secret key of the server.
200: OK
{
"categories": [
{
"id": 1,
"order": 0,
"name": "Ranks",
"only_subcategories": false,
"subcategories": [],
"packages": [
{
"id": 1,
"order": 0,
"name": "Premium Membership",
"price": "4.99",
"image": false,
"sale": {
"active": false,
"discount": "0.00"
}
},
{
"id": 2,
"order": 1,
"name": "Ultimate Membership",
"price": "9.99",
"image": "https://dunb17ur4ymx4.cloudfront.net/packages/images/45tdfgsdfg43tfgdfzzftt.png",
"sale": {
"active": true,
"discount": "1.99"
}
}
]
}
]
}

‚Äč