Create a subscription

View as Markdown
Creates a new subscription linking a customer to a plan. The subscription is activated immediately. The `billing_cycle` can be a UUID (billing cycle ID) or a name like `"monthly"` or `"yearly"` — it will be matched against the plan's available billing cycles. If `country_id` is not provided, it is resolved from the customer's record.