Products

Product operations. Products exist in three types:

All amounts are in smallest currency units (cents/kopecks)

Get Products List

get

Returns a paginated list of products

Authorizations
Api-KeystringRequired

API key for authentication.

Query parameters
pageinteger · min: 1Optional

Page number

Default: 1
sizeinteger · min: 1 · max: 100Optional

Items per page

Default: 20
typestring · enumOptional

Filter by product type

Possible values:
descbooleanOptional

Sort by ID descending

Default: false
Responses
chevron-right
200

Successful response

application/json
get
/products

Get Product by ID

get

Returns a single product by its ID

Authorizations
Api-KeystringRequired

API key for authentication.

Path parameters
idintegerRequired

Product ID

Responses
chevron-right
200

Successful response

application/json
idintegerRequired

Product ID

Example: 2548
typestring · enumRequired

Product type

Example: digitalPossible values:
namestringRequired

Product name

Example: VPN Access - 1 Month
descriptionstringOptional

Product description

Example: High-speed VPN service with unlimited bandwidth and 50+ server locations worldwide
amountinteger · int64Required

Product price in smallest currency units (cents for USD/EUR, kopecks for RUB)

Example: 499
currencystring · enumRequired

Currency code

Example: usdPossible values:
starsAmountintegerOptional

Price in Telegram Stars

Example: 100
starsAmountEnabledbooleanOptional

Whether payment with Stars is enabled

Example: true
statusstring · enumRequired

Product status

Example: approvedPossible values:
isCustombooleanRequired

Whether this is a custom product

Example: false
acceptCardsbooleanRequired

Whether card payments are accepted

Example: true
acceptWalletPaybooleanRequired

Whether wallet payments are accepted

Example: false
protectContentbooleanRequired

Whether content protection is enabled

Example: true
createdstring · date-timeRequired

Product creation date

Example: 2025-08-25T10:30:00Z
updatedstring · date-timeRequired

Product last update date

Example: 2025-08-25T10:30:00Z
pendingOrdersintegerOptional

Number of pending orders (for custom products)

Example: 3
imageUrlstring · uriOptional

Product image URL

Example: https://cdn.example.com/image.jpg
linkstring · uriRequired

Direct link to product in Telegram app

Example: https://t.me/tribute_bot/app?startapp=pf6
webLinkstring · uriRequired

Web link to product

Example: https://web.tribute.tg/p/f6
get
/products/{id}

Cancel Digital Product Purchase

post

Cancels a digital product purchase and refunds the payment.

Important: This endpoint only supports refunds for purchases paid with Telegram Stars. Purchases paid with other payment methods cannot be refunded via this endpoint.

Authorizations
Api-KeystringRequired

API key for authentication.

Path parameters
purchaseIdintegerRequired

Digital product purchase ID (ProductPurchase.ID)

Example: 12345
Responses
chevron-right
200

Purchase successfully cancelled and payment refunded

application/json
successbooleanRequired

Operation success status

Example: true
purchaseIdintegerRequired

Cancelled purchase ID

Example: 12345
messagestringRequired

Success message

Example: purchase cancelled and payment refunded
post
/products/purchases/{purchaseId}/cancel

Last updated