Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

315
Views
How do I get a URL parameter, add it as a parameter to a webhook, then have the webhook return a link that will redirect the user?

For Stripe, I need to have a way to create a new onboarding link when the old one expires. In plain text, I want to:

  1. Pass the Stripe ID from the URL into a webhook URL
  2. Trigger the webhook
  3. Wait for new link

The webhook triggers a Zapier automation that will create a new link.

  1. Redirect user to new link

This is what I have so far:

const urlParams = new URLSearchParams(window.location.search);
const StripeConnectedAccount = urlParams.get('StripeConnectedAccount');

fetch('https://hooks.zapier.com/hooks/catch/10517912/bthl3st'+?+StripeConnectedAccount);

That doesn't seem to be triggering the webhook though. Any help would be hugely appreciated.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!