POST Stripe API call to create webhook

Faced issues setting up POST request
https://stripe.com/docs/api/webhook_endpoints/create

Can’t understand what is the issue
1

enabled_events should be a list, tried a lot of approaches, all failed

did you try?

"enabled_events[0]"

this works:

1 Like

no, would try now

FYI:


4

Perfect, @bartek.dev !!!
It helped !!!
Thank you so much!!! Spent 4+ hours on this already

1 Like

@vovahumnytskiy what is the use case for creating the webhook?

I understand that Stripe allows us to have webhooks send to our Bubble app and have implemented it in my own app, but it seems like you would be triggering the webhook from your bubble app and I don’t know enough about APIs and Webhooks to know of a use case for what you are doing.

Interested to learn something new.

I need to create Stripe webhook from Bubble aim to avoid me users doing this mannually. Each user give me his Stripe secret key and I create webhook for them in their Stripe account. They just don’t want to spend time learning Stripe interface

1 Like