payments.PaymentForm
- class pyrogram.raw.types.payments.PaymentForm
Payment form
Constructor of
PaymentForm
.- Details:
Layer:
194
ID:
A0058751
- Parameters:
form_id (
int
64-bit
) – Form IDbot_id (
int
64-bit
) – Bot IDtitle (
str
) – Form titledescription (
str
) – Descriptioninvoice (
Invoice
) – Invoiceprovider_id (
int
64-bit
) – Payment provider ID.url (
str
) – Payment form URLusers (List of
User
) – Userscan_save_credentials (
bool
, optional) – Whether the user can choose to save credentials.password_missing (
bool
, optional) – Indicates that the user can save payment credentials, but only after setting up a 2FA password (currently the account doesn’t have a 2FA password)photo (
WebDocument
, optional) – Product photonative_provider (
str
, optional) – Payment provider name.One of the following:- stripenative_params (
DataJSON
, optional) – Contains information about the payment provider, if available, to support it natively without the need for opening the URL.A JSON object that can contain the following fields:- apple_pay_merchant_id: Apple Pay merchant ID- google_pay_public_key: Google Pay public key- need_country: True, if the user country must be provided,- need_zip: True, if the user ZIP/postal code must be provided,- need_cardholder_name: True, if the cardholder name must be providedadditional_methods (List of
PaymentFormMethod
, optional) – Additional payment methodssaved_info (
PaymentRequestedInfo
, optional) – Saved server-side order informationsaved_credentials (List of
PaymentSavedCredentials
, optional) – Contains information about saved card credentials
- Functions:
This object can be returned by 1 function.
Get a payment form