@paypal/paypal-js
    Preparing search index...

    Type Alias GooglePayConfigFromFindEligibleMethods

    Google Pay configuration from the eligibility response

    This is the configuration returned from getDetails("googlepay").config after the SDK's internal camelization. It must be transformed via formatConfigForPaymentRequest() before passing to Google's PaymentsClient, as that step performs additional field renames (e.g. supportedNetworks becomes allowedCardNetworks, merchantCountry becomes countryCode).

    type GooglePayConfigFromFindEligibleMethods = {
        allowedPaymentMethods: ReadonlyArray<
            {
                parameters: {
                    allowedAuthMethods: ReadonlyArray<"CRYPTOGRAM_3DS" | "PAN_ONLY">;
                    assuranceDetailsRequired: boolean;
                    billingAddressParameters: {
                        format?: "MIN" | "FULL";
                        phoneNumberRequired?: boolean;
                    };
                    billingAddressRequired: boolean;
                    supportedNetworks: ReadonlyArray<
                        "AMEX"
                        | "DISCOVER"
                        | "INTERAC"
                        | "JCB"
                        | "MASTERCARD"
                        | "VISA",
                    >;
                };
                tokenizationSpecification: {
                    parameters: { gateway: string; gatewayMerchantId: string };
                    type: string;
                };
                type: string;
            },
        >;
        apiVersion: number;
        apiVersionMinor: number;
        eligible: boolean;
        merchantCountry: string;
        merchantInfo: {
            authJwt?: string;
            merchantId: string;
            merchantOrigin: string;
        };
    }
    Index

    Properties

    allowedPaymentMethods: ReadonlyArray<
        {
            parameters: {
                allowedAuthMethods: ReadonlyArray<"CRYPTOGRAM_3DS" | "PAN_ONLY">;
                assuranceDetailsRequired: boolean;
                billingAddressParameters: {
                    format?: "MIN" | "FULL";
                    phoneNumberRequired?: boolean;
                };
                billingAddressRequired: boolean;
                supportedNetworks: ReadonlyArray<
                    "AMEX"
                    | "DISCOVER"
                    | "INTERAC"
                    | "JCB"
                    | "MASTERCARD"
                    | "VISA",
                >;
            };
            tokenizationSpecification: {
                parameters: { gateway: string; gatewayMerchantId: string };
                type: string;
            };
            type: string;
        },
    >
    apiVersion: number
    apiVersionMinor: number
    eligible: boolean
    merchantCountry: string
    merchantInfo: { authJwt?: string; merchantId: string; merchantOrigin: string }