OnrampGooglePayParams: {
    currencyCode: string;
    amount: number;
    label?: string;
    transactionId?: string;
}

Google Pay parameters for the onramp collectPaymentMethod call. Only includes the fields passed to GooglePayPaymentMethodLauncher.present(). Google Pay config (merchantCountryCode, testEnv, etc.) belongs in GooglePayConfig provided to configure().

Type declaration

  • currencyCode: string

    ISO 4217 alphabetic currency code (e.g. "USD").

  • amount: number

    Amount in the currency's smallest unit.

  • Optionallabel?: string

    An optional label to display with the amount.

  • OptionaltransactionId?: string

    A unique ID that identifies a transaction attempt. Required when sending callbacks to the Google Transaction Events API.