Receipt
payments.paymentReceipt#70c4fe03 flags:# date:int bot_id:long provider_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption tip_amount:flags.3?long 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 | long | Bot ID |
| provider_id | long | Provider ID |
| title | string | Title |
| description | string | Description |
| photo | flags.2?WebDocument | Photo |
| invoice | Invoice | Invoice |
| info | flags.0?PaymentRequestedInfo | Info |
| shipping | flags.1?ShippingOption | Selected shipping option |
| tip_amount | flags.3?long | Tipped amount |
| 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 |