Ngrok in my local application with Webhook for Stripe

Viewed 11

I´ve just seen this lib: https://github.com/alexdlaird/java-ngrok I would like to know if this is possible:

I have a Stripe account. Here I defined a webhook URL to receive webhooks. My computer (server) is not in the World Wide Web, therefore I need to send the webhook to something like a proxy.

I guess you can use than something like https://www.ultrahook.com/ After my Java program is starting, I need to connect than to this webhook to receive the webhooks from Stripe.

Is this possible with this API? I´m not sure where I can find the URL here:

final NgrokClient ngrokClient = new NgrokClient.Builder().build();

Is there also a static URL, which I could store in Stripe as my URL? Or do I get from the NgrokClient always a different URL?

0 Answers
Related