1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
invoice | Goods invoice | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: invoice
Goods invoice
Attributes:
Name | Type | Required | Description |
---|---|---|---|
currency | string | Yes | ISO 4217 currency code |
prices | Array of labeledPrice | Yes | List of objects used to calculate total price |
is_test | Bool | Yes | True, if payment is test |
need_name | Bool | Yes | True, if user's name is needed for payment |
need_phone_number | Bool | Yes | True, if user's phone number is needed for payment |
need_email | Bool | Yes | True, if user's email is needed for payment |
need_shipping_address | Bool | Yes | True, if user's shipping address is needed for payment |
is_flexible | Bool | Yes | True, if total price depends on shipping method |