Custom Stripe Webhooks

Hi,

Stripe has pointed me to a webhook for hardware orders.

I don't see these options in the list of Stripe Webhooks available to us within Wappler, so I need to create a custom webhook.

I have two questions: (a) How do I create a custom webhook endpoint that is not listed in the enabled events in Wappler?
image

(b) how do I add a header version (for example, Stripe-Version: 2024-06-20;terminal_hardware_orders_beta=v4 ) to the webhook endpoints?

Any help would be appreciated.

Thanks,
Ray

Bump

OK, maybe the other option is creating a Server Action(API).

This then raises another issue: verifying the stripe signature.
Has anyone else managed to verify the signature? If so, could you please share?

Thanks,
Ray