action motaword_create_subscription { label: "Create subscription for continuous project" description: "Create subscription for continuous project" provider: motaword method: POST path: "/continuous_projects/{id}/subscription" encoding: json input: { type: "object" properties: { downgrade: { type: "array" description: "Stripe downgradable plan" items: { type: "string" } } id: { type: "integer" format: "int64" } payment_method: { type: "integer" description: "Stripe subscription plan payment card internal id" } period_end: { type: "string" format: "date-time" description: "Stripe plan period end" } plan_id: { type: "string" description: "Stripe subscription plan id" } plan_name: { type: "string" description: "Stripe subscription plan name" } price: { type: "string" description: "Stripe plan price" } products: { type: "array" items: { type: "object" } } schedule_name: { type: "string" description: "Stripe Scheduled plan period end" } schedule_start: { type: "string" format: "date-time" description: "Stripe Scheduled start date" } subscription_id: { type: "string" description: "Stripe subscription id for this project" } upgrade: { type: "array" description: "Stripe upgradable plan" items: { type: "string" } } withTrial: { format: "boolean" description: "Stripe plan trial" type: "object" } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { downgrade: { type: "array" description: "Stripe downgradable plan" items: { type: "string" } } payment_method: { type: "integer" description: "Stripe subscription plan payment card internal id" } period_end: { type: "string" format: "date-time" description: "Stripe plan period end" } plan_id: { type: "string" description: "Stripe subscription plan id" } plan_name: { type: "string" description: "Stripe subscription plan name" } price: { type: "string" description: "Stripe plan price" } products: { type: "array" items: { type: "object" } } schedule_name: { type: "string" description: "Stripe Scheduled plan period end" } schedule_start: { type: "string" format: "date-time" description: "Stripe Scheduled start date" } subscription_id: { type: "string" description: "Stripe subscription id for this project" } upgrade: { type: "array" description: "Stripe upgradable plan" items: { type: "string" } } withTrial: { format: "boolean" description: "Stripe plan trial" type: "object" } } } }