{
  "meta": {},
  "group": {
    "title": "Payments",
    "anchor": "payments"
  },
  "object": {
    "anchor": "invoice",
    "name": "Invoice",
    "description": "This object contains basic information about an invoice.",
    "html_description": "<p>This object contains basic information about an invoice.</p>",
    "rst_description": "This object contains basic information about an invoice.",
    "annotations": [
      {
        "type": "String",
        "description": "Product name",
        "html_description": "<td>Product name</td>",
        "rst_description": "Product name\n",
        "name": "title",
        "required": true
      },
      {
        "type": "String",
        "description": "Product description",
        "html_description": "<td>Product description</td>",
        "rst_description": "Product description\n",
        "name": "description",
        "required": true
      },
      {
        "type": "String",
        "description": "Unique bot deep-linking parameter that can be used to generate this invoice",
        "html_description": "<td>Unique bot deep-linking parameter that can be used to generate this invoice</td>",
        "rst_description": "Unique bot deep-linking parameter that can be used to generate this invoice\n",
        "name": "start_parameter",
        "required": true
      },
      {
        "type": "String",
        "description": "Three-letter ISO 4217 currency code",
        "html_description": "<td>Three-letter ISO 4217 <a href=\"/bots/payments#supported-currencies\">currency</a> code</td>",
        "rst_description": "Three-letter ISO 4217 `currency <https://core.telegram.org/bots/payments#supported-currencies>`_ code\n",
        "name": "currency",
        "required": true
      },
      {
        "type": "Integer",
        "description": "Total price 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).",
        "html_description": "<td>Total price in the <em>smallest units</em> of the currency (integer, <strong>not</strong> float/double). For example, for a price of <code>US$ 1.45</code> pass <code>amount = 145</code>. See the <em>exp</em> parameter in <a href=\"/bots/payments/currencies.json\">currencies.json</a>, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).</td>",
        "rst_description": "Total price in the *smallest units* of the currency (integer, **not** float/double). For example, for a price of :code:`US$ 1.45` pass :code:`amount = 145`. See the *exp* parameter in `currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).\n",
        "name": "total_amount",
        "required": true
      }
    ],
    "category": "types"
  }
}
