haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputCredentials

Synopsis

Documentation

data InputCredentials Source #

Contains information about the payment method chosen by the user

Constructors

InputCredentialsSaved

Applies if a user chooses some previously saved payment credentials. To use their previously saved credentials, the user must have a valid temporary password

Fields

InputCredentialsNew

Applies if a user enters new credentials on a payment provider website

Fields

  • _data :: Maybe Text

    JSON-encoded data with the credential identifier from the payment provider

  • allow_save :: Maybe Bool

    True, if the credential identifier can be saved on the server side

InputCredentialsApplePay

Applies if a user enters new credentials using Apple Pay

Fields

  • _data :: Maybe Text

    JSON-encoded data with the credential identifier from the payment provider

InputCredentialsGooglePay

Applies if a user enters new credentials using Google Pay

Fields

  • _data :: Maybe Text

    JSON-encoded data with the credential identifier from the payment provider