Type alias GetPaywallInput

GetPaywallInput: { billingCountryCode?: InputMaybe<Scalars["String"]>; context?: InputMaybe<WidgetType>; customerId?: InputMaybe<Scalars["String"]>; environmentId?: InputMaybe<Scalars["String"]>; fetchAllCountriesPrices?: InputMaybe<Scalars["Boolean"]>; includeHiddenPlans?: InputMaybe<Scalars["Boolean"]>; productId?: InputMaybe<Scalars["String"]>; resourceId?: InputMaybe<Scalars["String"]> }

Input for fetching the paywall

Type declaration

  • Optional billingCountryCode?: InputMaybe<Scalars["String"]>

    The country code for billing, e.g. US

  • Optional context?: InputMaybe<WidgetType>

    Context for the paywall, e.g. "checkout" or "subscription"

  • Optional customerId?: InputMaybe<Scalars["String"]>

    The customer ID for whom the paywall is being fetched

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The unique identifier for the environment

  • Optional fetchAllCountriesPrices?: InputMaybe<Scalars["Boolean"]>

    Whether to fetch prices for all countries or just the specified billing country

  • Optional includeHiddenPlans?: InputMaybe<Scalars["Boolean"]>

    Whether to include hidden plans in the paywall

  • Optional productId?: InputMaybe<Scalars["String"]>

    The product ID for which the paywall is being fetched

  • Optional resourceId?: InputMaybe<Scalars["String"]>

    The resource ID for which the paywall is being fetched