I need to redirect a webhook to a new url by redirection 303 or 308

I have a webhook where I receive data from a payment process, when I had received, I need to send by response a redirect to a new url.

What can I do that?

currently I have this configuration on function stack:

but the url adding like a directory.

like this:

I the result is this url: https://xvhd-vlpe-nllj.n7c.xano.io/www.nuevaurl.com but I need only www.nuevaurl.com .

thanks!!

4 replies