#hearse_api

1 messages ¡ Page 1 of 1 (latest)

sand ventureBOT
#

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

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

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.

worldly isle
#

In my backend, i am just using a webhook. Even if i create a payment link with the specified api version, the webhook event request is for 2023-...

#
    const stripe = new Stripe(apiKey, {
        httpClient: Stripe.createFetchHttpClient(),
        apiVersion: '2025-03-31.basil',
    });
// create payment link
...

// Inside my webhook now, the event response for using the payment link (invoice.payment_succeeded) is still for 2023-... api

#

i am aware that i could use sandboxes but i am on linux, even though i have mac, i want to also develop and test on linux and stripe-cli preview plugin is not able to be used on linux

sand ventureBOT
opaque hinge
#

Hello, yes that is a good way to test on new API versions. Are you running into issues when trying this?

worldly isle
worldly isle
#

I am uncertain if creating the payment link with the specified api version will determine that the webhook api version

#

for local use case, i believe i did not do my research. I just did stripe listen --help and did find the -l, --latest Receive events formatted with the latest API version (default: your account's default API version) option