List available products
Changed onThe product catalog — the two product types you can sell and the buyable shape of each. Static, price-free metadata (call GET /v1/pricing for a price): use it to build your own catalog/UI and to learn the bounds the order endpoints enforce.
Each entry's parameter names the request field to send to /v1/pricing and /v1/orders (quantity for stars, months for premium). A null values means a continuous integer range [min, max] (stars — any quantity in range, no fixed denominations); a non-null values is the exact allowed set (premium — [3, 6, 12]).
Request
- Base URLhttps://api.mystars.tg
- AuthAPI key in header X-Api-Key
Response
The product catalog.
Example response
{
"products": [
{
"name": "Telegram Stars",
"min": 50,
"max": 1000000
}
]
}Changes
- warning
added the new
antibot_enforce_unavailableenum value to theerror/coderesponse property for the response status - warning
added the new
antibot_enforce_unavailableenum value to theerror/coderesponse property for the response status - warning
added the new
attestation_limit_reachedenum value to theerror/coderesponse property for the response status
82 more changes in this revision
- warning