Attributes

Configure pricing options for your subscription products.

Overview

Plans define pricing and billing configurations for subscription products. Each plan specifies the amount, currency, billing interval, and optional trial period. Plans are associated with products and can include entitlements that grant access to specific content or features.


How It Works

  1. Create a product - Products represent what you're selling (e.g., "Premium Membership")
  2. Add plans - Each product can have multiple plans with different pricing (e.g., monthly, annual)
  3. Subscribe customers - Customers subscribe to plans to gain access to your content

Example: A news publisher creates a "Digital Access" product with three plans: Monthly ($9.99/month), Annual ($99.99/year with 2 months free), and Student ($4.99/month). Each plan grants access to the same digital content but at different price points.


API Endpoints

MethodEndpointDescription
GET/api/v1/core/plansList all plans
POST/api/v1/core/plansCreate a plan
GET/api/v1/core/plans/{id}Get a plan
PUT/api/v1/core/plans/{id}Update a plan
DELETE/api/v1/core/plans/{id}Delete a plan

Plan Types

TypeDescription
regularStandard subscription plan
membershipGroup/institutional subscription with multiple seats

Billing Intervals

IntervalDescription
dayDaily billing
weekWeekly billing
monthMonthly billing
yearAnnual billing

Use interval_count to specify multiples (e.g., interval: month, interval_count: 3 for quarterly).


Renewal Strategies

StrategyDescription
regularStandard digital subscription renewal
digitalDigital-only subscription
agencyAgency-managed subscription
single_shipmentOne-time shipment, no renewal

Plan Object

AttributeTypeDescription
idintegerUnique identifier for the plan
product_idintegerID of the parent product
nicknamestringDisplay name (max 100 characters)
name_internalstringInternal reference name
descriptionstringPlan description
amountintegerPrice in cents
currencystringThree-letter ISO currency code
intervalstringBilling interval: day, week, month, year
interval_countintegerNumber of intervals between billings
trial_period_daysintegerNumber of days in trial period
activebooleanWhether plan is available for purchase
available_onlinebooleanWhether plan is available for online purchase
auto_renewbooleanWhether subscriptions auto-renew by default
typestringPlan type: regular or membership
renewal_strategystringHow renewals are handled
member_seat_capacityintegerNumber of seats for group plans
agency_idintegerID of managing agency (if applicable)
agency_remit_ratedecimalPercentage remitted to agency
group_owner_plan_idintegerID of parent plan for group subscriptions
shipments_per_intervalintegerNumber of shipments per billing cycle
is_donationbooleanWhether this is a donation plan
is_hiddenbooleanWhether plan is hidden from display
is_importedbooleanWhether plan was imported
refundablebooleanWhether plan allows refunds
allow_send_invoicebooleanWhether invoice sending is allowed
auto_uncollectible_daysintegerDays before marking invoice uncollectible
invoice_upcoming_notificationintegerDays before sending upcoming invoice notice
apple_product_idstringApple App Store product ID
entitlementsarrayAccess permissions granted by this plan
domainsarrayAuthorized domains for IP access
ip_addressesarrayAuthorized IP addresses
countriesarrayCountries where plan is available
imagestringURL to plan image
gift_descriptionstringDescription shown for gift purchases
expires_attimestampUnix timestamp when plan expires
old_provider_idstringExternal system reference ID
metadataobjectKey-value pairs for storing additional data

Related Endpoints