Skip to main content
GET
cURL

Path Parameters

productID
string<uuid>
required

Query Parameters

locale
enum<string>
Available options:
ru,
en
quantity
integer
Required range: 1 <= x <= 10
promoCode
string

Response

Product and quote

id
string<uuid>
required
code
string
required
kind
enum<string>
required
Available options:
telegram_premium,
telegram_stars
name
string
required
currency
string
required
available
boolean
required
priceKnown
boolean
required

Whether priceMinor is a published number. False means the product is priced when it is opened, so a screen never has to read a missing price as zero.

quantity
integer
required
quote
object
required

A price and the moment it stops applying. The two travel together so a client cannot hold one without the other.

description
string
priceMinor
integer<int64>
durationMonths
integer

Telegram Premium only.

starQuantity
integer

Telegram Stars only.

promo
object