Receipt
payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
date | int | Date of generation |
bot_id | int | Bot ID |
invoice | Invoice | Invoice |
provider_id | int | Provider ID |
info | flags.0?PaymentRequestedInfo | Info |
shipping | flags.1?ShippingOption | Selected shipping option |
currency | string | Three-letter ISO 4217 currency code |
total_amount | long | Total amount in the smallest units of the currency (integer, not float/double). 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). |
credentials_title | string | Payment credential name |
users | Vector<User> | Users |