Configuration: {
    merchantDisplayName: string;
    appearance: Onramp.LinkAppearance;
    cryptoCustomerId?: string;
    countryHint?: string;
    googlePay?: GooglePayConfig;
    samsungPay?: SamsungPayConfig;
}

Configuration used to initialize and customize the crypto onramp experience.

  • merchantDisplayName is shown in Stripe-provided UI (e.g., Link, Identity).
  • appearance customizes colors and primary button styling for Stripe UI.

Type declaration

  • merchantDisplayName: string

    Merchant name to display in Stripe-provided UI.

  • appearance: Onramp.LinkAppearance

    Appearance overrides for Stripe-provided UI used during onramp.

  • OptionalcryptoCustomerId?: string

    The identifier of the Stripe crypto customer object.

  • OptionalcountryHint?: string

    Merchant-provided ISO 3166-1 alpha-2 country code used to help select a merchant of record before the customer has an established KYC region. An established KYC region takes precedence. Omit when the country is unknown.

  • OptionalgooglePay?: GooglePayConfig

    Google Pay configuration. Required on Android to enable Google Pay as a payment method.

  • OptionalsamsungPay?: SamsungPayConfig

    Samsung Pay configuration. Required on Android to enable Samsung Pay as a payment method.