action britbox_get_billing_history { label: "getBillingHistory" description: "Returns the list of billing records for specified payment platform." provider: britbox method: POST path: "/itv/billinghistory/{platform}" encoding: json input: { type: "object" properties: { platform: { type: "string" } profileToken: { type: "string" description: "The ITV profile token." } } required: ["platform", "profileToken"] additionalProperties: false } output: { type: "object" required: ["payment_history"] properties: { payment_history: { type: "array" description: "The array of objects with subscription payment details." items: { type: "object" required: ["card", "subscription", "invoice", "charge"] properties: { card: { type: "object" description: "The card info." } charge: { type: "object" description: "The amount charged." } invoice: { type: "object" description: "The object with invoice details." } subscription: { type: "object" description: "The object with subscription payment details." } } additionalProperties: false } } } additionalProperties: false } }