#akii-subscriptionschedule
1 messages · Page 1 of 1 (latest)
hi there! have you tried using https://stripe.com/docs/api/subscription_schedules/update ?
Yes i did but i dont know how to edit an already existing phase
SubscriptionScheduleUpdateParams updateParams = SubscriptionScheduleUpdateParams
.builder()
.addPhase(
SubscriptionScheduleUpdateParams.Phase
.builder()
.addItem(
SubscriptionScheduleUpdateParams.Phase.Item
.builder()
.setPrice(newPriceId)
.build())
.build())
.build();
SubscriptionSchedule updatedSchedule = subscriptionSchedule.update(updateParams);
have you seen this guide? https://stripe.com/docs/billing/subscriptions/subscription-schedules#updating