#Ian Kaplan - Subscription Schedules
1 messages · Page 1 of 1 (latest)
Hello! Are you looking for phases.items? https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-phases-items
yes
it does not exist on subscription schedules created today
im not sure if i did anything differently than what i did in testing
"phases": [
{
"add_invoice_items": [],
"application_fee_percent": null,
"billing_cycle_anchor": null,
"billing_thresholds": null,
"collection_method": null,
"coupon": null,
"default_payment_method": null,
"default_tax_rates": [],
"end_date": 1648944240,
"invoice_settings": null,
"plans": [
{
"billing_thresholds": null,
"plan": "price_1JrmGpIgrjnbz5UgLB2QaVkG",
"price": "price_1JrmGpIgrjnbz5UgLB2QaVkG",
"quantity": 1,
"tax_rates": []
}
],
"prorate": true,
"proration_behavior": "create_prorations",
"start_date": 1641168240,
"tax_percent": null,
"transfer_data": null,
"trial_end": null
}
],
That's because you're on an older API version. See the second bullet point here: https://stripe.com/docs/upgrades#2020-08-27
ok makes sense