#mayuri_api

1 messages ¡ Page 1 of 1 (latest)

pine sirenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1367844167312605265

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

real flax
#

Yes you can use Subscription schedule for this in order to create a Subscription in the future

plain ice
#

but in subscription scedular is their why to cancle it when i want?

real flax
plain ice
#

can you please explain more?

real flax
#

but in subscription scedular is their why to cancle it when i want?
Yes you can cancel the Subscription Schedule same as the Subscription

#

because the Subscription scheduler is linked to a Subscription

#

And you can create a Scheduler from an existing Subscription

plain ice
#

But in cancle schedule there is no parameter for cancle it.

#

like if i want cancel subscription there is one way to cancle which is update the subscription api. where i can cancle the subcription anytime which i want.

#

is there any way to cancel schedular like this?

real flax
#

You mean cancel at period end ?

plain ice
#

yes

real flax
#

Yes you can create a schedule with just one phase

plain ice
#

like cancle_at any time

real flax
#

Yeah you set the latest phase (end_date)

plain ice
#

Okay

#

Okay, one more query here, if i create a subscription schdule like phase: { start_Date: 2nd may and end_date 2 aug} . now after 15 days i have cancle it like end_Date should be 30th may, so how i can do it?

#

i mean i have update my end_date of that subscription schedular phase

#

how i can do it?

pine sirenBOT
plain ice
#

after the updatation if i want to create new subscription schedualr , so the process will same as you mentioned above?

cobalt trail
#

hey there, just stepping in for @real flax who needs to step away, i can help with the new question. give me a moment to catch up.

plain ice
#

ok

cobalt trail
# plain ice Okay, one more query here, if i create a subscription schdule like phase: { star...

You can cancel the schedule directly, which also cancels the subscription immediately

Similar to other Stripe APIs, you can retrieve and update subscription schedules. You can also cancel and release them. Cancelling a subscription schedule cancels the subscription as well. If you only want to remove a schedule from a subscription, use the release call.
From: https://docs.stripe.com/billing/subscriptions/subscription-schedules#subscription-schedule-sub-updates

API: https://docs.stripe.com/api/subscription_schedules/cancel

#

If you want to set a future cancel_at date, you can make schedule updates to control that, or you can release the schedule and update the subscription directly to set cancel_at, which is likely simpler for most use cases.

plain ice
#

like i can use subscription cancle api for same?

#

or need to use cancel subscription schedul api?

cobalt trail
#

If you want to cancel immediately, you can use the schedule cancel API

#

It will also cancel the attached subscription

plain ice
#

Okay, and i want cancel it in future then i have to use update schedular api correct?

cobalt trail