Class SuccessfulPaymentType.

see
package Default

 Properties

 

Three-letter ISO 4217 currency code.

$currency : string

Default

 

Bot specified invoice payload.

$invoicePayload : string

Default

 

Optional. Order info provided by the user.

$orderInfo : \TgBotApi\BotApiBase\Type\OrderInfoType | null

Default

 

Provider payment identifier.

$providerPaymentChargeId : string

Default

 

Optional. Identifier of the shipping option chosen by the user.

$shippingOptionId : string | null

Default

 

Telegram payment identifier.

$telegramPaymentChargeId : string

Default

 

Total price in the smallest units of the currency (integer, not float/double).

$totalAmount : integer

Default

For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

see
see