action britbox_get_plan { label: "getPlan" description: "Returns the plan description for EE flow including additional description data." provider: britbox method: GET path: "/ee/plans/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["ctaText", "currency", "description", "headerText", "heroText", "id", "longText", "nickname", "product", "trialPeriodDays"] properties: { amount: { type: "number" format: "float" description: "The price of a plan. If a free plan then undefined." } ctaText: { type: "string" description: "The textual description." } currency: { type: "string" description: "The currency a plan is offered in." } description: { type: "string" description: "The textual description." } headerText: { type: "string" description: "The textual description." } heroText: { type: "string" description: "The textual description." } id: { type: "string" description: "The identifier of a plan." } interval: { type: "string" description: "The type of billing period used." enum: ["day", "week", "month", "year", "none"] } intervalCount: { type: "integer" format: "int32" description: "Given the `interval` this is how frequently it will run. e.g. every 2 weeks." } longText: { type: "string" description: "The textual description." } nickname: { type: "string" description: "The title of a plan." } product: { type: "string" description: "The product of a plan." } trialPeriodDays: { type: "integer" format: "int32" description: "How many days a trial period runs for a plan. Only valid if `hasTrialPeriod` is true." } } additionalProperties: false } }