Skip to content

PaymentFormTypeRegular

Type · TDLib 1.8.67 · d1085f9c

The payment form is for a regular payment

PaymentFormTypeRegular(
  invoice: Invoice,
  payment_provider_user_id: int53,
  payment_provider: PaymentProvider,
  additional_payment_options: list of PaymentOption,
  saved_order_info: OrderInfo,
  saved_credentials: list of SavedCredentials,
  can_save_credentials: Bool,
  need_password: Bool
) → PaymentFormType

invoice

Invoice

Full information about the invoice

payment_provider_user_id

int53

User identifier of the payment provider bot

payment_provider

PaymentProvider

Information about the payment provider

additional_payment_options

list of PaymentOption

The list of additional payment options

saved_order_info

OrderInfo

Saved server-side order information; may be null

saved_credentials

list of SavedCredentials

The list of saved payment credentials

can_save_credentials

Bool

True, if the user can choose to save credentials

need_password

Bool

True, if the user will be able to save credentials, if sets up a 2-step verification password