payments.SendPaymentForm#

class pyrogram.raw.functions.payments.SendPaymentForm#

Send compiled payment form.

Details:
  • Layer: 158

  • ID: 2D03522F

Parameters:
  • form_id (int 64-bit) – Form ID.

  • invoice (InputInvoice) – Invoice.

  • credentials (InputPaymentCredentials) – Payment credentials.

  • requested_info_id (str, optional) – ID of saved and validated order info.

  • shipping_option_id (str, optional) – Chosen shipping option ID.

  • tip_amount (int 64-bit, optional) – Tip, 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).

Returns:

payments.PaymentResult