Plan
A priced package of one product. A plan last edited in the dashboard rather than through the API shows its pricing as a monthly Platform fee (RecurringPerUnit) carrying its included credits and overage price, plus a UsagePrepaidCredits charge for each event that uses credits; those attributes' productAttributeIds are made from the plan ID (plan_…-platform-fee, plan_…-<eventName>).
- archivedType: string | nullFormat: date-time
At requiredWhen the plan was archived; null while it is active.
- attributesType:requiredProperties: 5
The plan's price for each product attribute it includes.
- createdType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- externalType: string | null
Id requiredYour ID for the plan, unique across your plans.
- idType: stringrequired
The plan's Spondo Billing ID.
- isType: boolean
Default requiredWhether this is the product's default plan, used when an order or checkout names the product but no plan.
- nameType: stringrequired
- productType: string | null
Id requiredThe product the plan prices. Null for a plan made in the dashboard without one.
- statusType: "active" or "archived"enumrequired
active: on offer.archived: no longer offered; it is never picked as the product's default, and orders already on it carry on. - supportedType: array of string
Currencies requiredThe currencies the plan is sold in (ISO 4217). The first is its main currency, the one its fee and credits are worked out in.
- updatedType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- upgradeType: integer | null
Path Order min:0requiredThe plan's position in its upgrade path group, from 0 (the lowest plan). Null when it is in no group.