When a user pays with Stars, these Stars might be refundable or non-refundable depending on how they were purchased:
If the buyer purchased the Stars through Apple App Store or Google Play, they can usually request a refund within about 21 days.
If the Stars were obtained through Fragment, they are generally non-refundable.
For me as a merchant, it is safe to deliver the product immediately only if the Stars are non-refundable. However, if they are refundable, there is a risk that the buyer will refund the Stars after receiving the product, causing financial loss to the merchant.
Currently, when a payment is received in the bot, there is no information provided about whether the Stars are refundable or not.
My request is:
Is it possible to add a field (for example, a boolean like is_refundable or a string) in the SuccessfulPayment object or via webhook, that tells the bot owner whether the received Stars are refundable?
Specifically:
If the Stars came from Fragment or if more than 21 days have passed since purchase from Google Play/Apple → refundable: false
If the Stars were bought from Google Play or Apple and are still within the refund window → refundable: true
This would allow sellers to deliver the product with peace of mind when the Stars are non-refundable, and be more cautious when they are refundable.
As a real example:
The person at this link (https://t.me/AlaedinVPN/1284) has stated that he received about $11,000 in Stars, and approximately $3,000 has already been refunded (as of the time of writing). More refunds may occur in the coming days. This level of loss is not reasonable or fair for a legitimate store.
Telegram has already implemented a similar logic for Gifts:
If a gift is purchased with refundable Stars, it cannot be transferred for 21 days.
But if it is purchased with non-refundable Stars, it can be transferred immediately.
Would it be possible to apply the same logic to regular Stars payments in bots as well?