#uzu_api

1 messages ¡ Page 1 of 1 (latest)

lunar shoalBOT
#

👋 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/1347303257198039051

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

gleaming verge
#

When you say you tried to simulate without specifying params, what exactly did you pass? Was that using the subscription_details parameters?

median bluff
#

Sorry, i was trying to say that i simulate sending invoice lines

#

items*

gleaming verge
#

Can you explain in a bit more detail what you are trying to preview here? If the user changed to the other price now but still ends their subscription at the same time?

median bluff
#

i want to preview the invoice if the user changed to other price and sets the cancel_at to null, the user remove the cancel

gleaming verge
#

Gotcha, I think what I said before may still apply. Will test. Or did you get an error when you used subscription_details before?

median bluff
#

I just tried using that parameter and get "The subscription is managed by the subscription schedule sub_sched_1QzQG7FDzWEzE3i9d7SCPeFY, and updating any cancelation behavior is not allowed."

gleaming verge
#

Gotcha, thanks for the detail. Looking into how to handle this if there is a subscription schedule involved