Query
Parameters
Input parameters for paywall retrieval
Return Type
Returns aPaywall object with:
| Field | Type | Description |
|---|---|---|
plans | [PaywallPlan] | Plans formatted for paywall display |
configuration | PaywallConfiguration | Visual customization settings |
PaywallPlan Fields
| Field | Type | Description |
|---|---|---|
refId | String | Plan reference ID |
displayName | String | Plan name |
description | String | Plan description |
pricingType | PricingType | FREE, PAID, CUSTOM |
pricePoints | [PaywallPricePoint] | Pricing per billing period |
entitlements | [Entitlement] | Included entitlements |
compatibleAddons | [PaywallAddon] | Available addons |
defaultTrialConfig | TrialConfig | Trial configuration |
Common Use Cases
Public pricing page
Public pricing page
Build a pricing page showing all available plans and their features.
Upgrade modal
Upgrade modal
Show upgrade options to existing customers with their current plan highlighted.
Feature comparison
Feature comparison
Build feature comparison tables using entitlement data.
Example: Rendering a Pricing Page
Related Operations
- List Plans - Raw plan data
- Preview Subscription - Preview checkout pricing
- Provision Subscription - Create subscription
