#Nancy
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nancy-invoice-event, 24 minutes ago, 15 messages
Is the goal to update your account's default api version, to set the api version on a per-request basis, or is this about setting api version for a webhook endpoint?
I understand you can change the version per-request specified in the code the version, but if I want to change the API for all webhook endpoint
for the default above to be like 2020-06-27
how do i do that?
Oh so you want to change your account's default api version?
You have to upgrade to the latest
You can't choose a specific version
It's also a very dangerous opertaion
Recommend reading https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api
so referencing nancy-invoice-event thread
i want the first invoice.paid event to have the billing_reason of subscription_created introduce in 2018-10 version
is there a way to just change the invoice.paid event to a newer version?
Oh
You could just create a webhook endpoint that listens only to that event and specify the version: https://stripe.com/docs/api/webhook_endpoints/create#create_webhook_endpoint-api_version
Please read this: https://stripe.com/docs/webhooks#api-version
so the invoice.paid event however is trigger by stripe instead of us, can we still do the above?
I don't understand the question
The above is for setting the version for webhook endpoints
Your goal is to receive invoice.paid events on your webhook endpoint in a particular version, no?
if our app is default 2017, can the webhook receive the invoice.pad endpoint in a newer version?
well ideally we want to create that event in stripe in a newer version, because our partner integrations listen to that particular event and want it to identify it differently
Oh
There's not a way to do that for just the 1 event
Only way to receive the event in a different version than your account's default version is to do this via a webhook endpoint with a different version
gotcha