action britbox_get_current_subscription { label: "getCurrentSubscription" description: "Returns the details of current subscription for specified payment platform." provider: britbox method: GET path: "/itv/purchase/{platform}" encoding: json input: { type: "object" properties: { platform: { type: "string" } } required: ["platform"] additionalProperties: false } output: { type: "object" required: ["cancelAtPeriodEnd", "collectionMethod", "created", "currentPeriodEnd", "currentPeriodStart", "plan", "status"] properties: { cancelAtPeriodEnd: { type: "boolean" description: "The cancellation period end flag." } collectionMethod: { type: "string" description: "The description of payment collection method." } created: { type: "integer" format: "int32" description: "The creation timestamp." } currentPeriodEnd: { type: "integer" format: "int32" description: "The end of period timestamp." } currentPeriodStart: { type: "integer" format: "int32" description: "The start of period timestamp." } plan: { type: "object" description: "The plan used during subsribing." } status: { type: "string" description: "The status of subscription." } } additionalProperties: false } }