payments.GetPaymentForm#

class pyrogram.raw.functions.payments.GetPaymentForm#

Get a payment form.

Details:
  • Layer: 158

  • ID: 37148DBB

Parameters:
  • invoice (InputInvoice) – Invoice.

  • theme_params (DataJSON, optional) – A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages: bg_color - Background color text_color - Text color hint_color - Hint text color link_color - Link color button_color - Button color button_text_color - Button text color.

Returns:

payments.PaymentForm