A payment method(s) that is allowed to be used.

Example

{
* type: "CARD",
* parameters: {
* allowedAuthMethods: ["PAN_ONLY", "CRYPTOGRAM_3DS"],
* allowedCardNetworks: ["AMEX", "DISCOVER", "VISA", "MASTERCARD"]
* }
* }
interface AllowedPaymentMethod {
    allowedAuthMethods?: string[];
    allowedCardNetworks?: string[];
    parameters?: {
        [key: string]: any;
    };
    tokenizationSpecification?: {
        [key: string]: any;
    };
    type: CdvPurchase.Braintree.GooglePay.PaymentMethodType;
}

Properties

allowedAuthMethods?: string[]

Fields supported to authenticate a card transaction.

allowedCardNetworks?: string[]

One or more card networks that you support, also supported by the Google Pay API.

parameters?: {
    [key: string]: any;
}

Additional parameters for the payment method. The specific parameters depend on the payment method type.

For example "assuranceDetailsRequired", "allowCreditCards", etc.

Type declaration

  • [key: string]: any
tokenizationSpecification?: {
    [key: string]: any;
}

Tokenization specification for this payment method type.

Type declaration

  • [key: string]: any

A string that represents the type of payment method. This can be one of the following values:

  • "CARD": A credit or debit card.
  • "TOKENIZED_CARD": A tokenized credit or debit card.