#eric_api

1 messages ¡ Page 1 of 1 (latest)

minor vigilBOT
#

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

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

wanton river
#

E.G. webhook ids from testmode acc:
we_1SKHt5H17a2NVzl0vypq36sG

we_1SKHVxH17a2NVzl0192OetPu

#

Both on 2022-11-15. I'm unsure how to do this outside of Stripe CLI

dreamy moat
#

Sorry, not sure I understand what issue are you facing ?

#

Could you please clarify more ?

wanton river
#

Yeah sure so I'm configuring a new Stripe account and I'd like to setup some webhooks on an old apin version - version 2022-11-15

#

The way I've done this in the past is by using the Stripe CLI. Now admittedly it has been a while but I can't seem to use the CLI anymore to do creates when not in a sandbox or test mode?

#

And given that the api version I'm

#

I would like to use is not available for the account I'm configuring how do I do this?

dreamy moat
#

Thanks for the clarification.

#

You can use Stripe APi in order to register a webhook endpoint with a specific API version

minor vigilBOT
wanton river
#

And can that be done for a live account i.e. not test mode?

#

I can't seem to

ionic hollow
#

You should be able to to, are you seeing an error on your end?

wanton river
#

I see the following:

#

It has defaulted to test mode (I have no sandboxes) and I'm unable to switch to live mode

#

Perhaps it's to do with my user's permissions? I see something similar using The developer workbench it informs me the shell is read only

ionic hollow
#

That is just beacuse you're looking at the document while logged in to your test mode account. You can make the call and use the live key

#

Ah, if you're not the owner that will have in impact

wanton river
#

I'll see if it allows it via curl and using the api key one second

ionic hollow
#

You need to contact the account owner for that

#

If it's a read only permission, you'd likely get an error

wanton river
#

okay I'll reach out to the account owner and see if they can help