Telegram Bot API

Refunds a successful payment in Telegram Stars. Returns True on success.

post/refundStarPayment

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/refundStarPayment
  • Auth: none declared

Request body

user_idinteger required

Identifier of the user whose payment will be refunded

telegram_payment_charge_idstring required

Telegram payment identifier

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.