action britbox_get_itv_plans_platform { label: "get_itv_plans_platform" description: "Returns the plans available for specified payment platform." provider: britbox method: GET path: "/itv/plans/{platform}" encoding: json input: { type: "object" properties: { platform: { type: "string" } } required: ["platform"] additionalProperties: false } output: { type: "object" required: ["plans"] properties: { plans: { type: "array" description: "The list of available plans." items: { type: "object" required: ["id", "nickname", "amount", "currency", "interval", "intervalCount", "product", "description"] properties: { amount: { type: "number" format: "float" description: "The price of a plan. If a free plan then undefined." } currency: { type: "string" description: "The currency a plan is offered in." } description: { 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." } nickname: { type: "string" description: "The title of a plan." } product: { type: "string" description: "The product description." } savingLabel: { type: "string" description: "The saving label." } switchingText: { type: "string" description: "The text to switch for." } trialPeriodDays: { type: "integer" format: "int32" description: "How many days a trial period runs for a plan. Only valid if `hasTrialPeriod` is true." } } additionalProperties: false } } } additionalProperties: false } }