Discussions

Ask a Question
Back to All

API For Custom Short URL

Dear Team,

I am using python code which is given in API for custom short URL.
This code is working for every static URL but not my dynamic URL which have some parameters, I need this for my UPI integration.

for example, when I am using that code for below URL it is working and giving me a short URL:
https://www.google.com/ -working.
But when I am using my UPI URL:
"upi://pay?pa=" + pa + "&pn=" + pn + "&tr=" + tid + "&am=" + amount + "&cu=" + currency + "&url=https://hook.integromat.com/xyz, it is giving invalid url.

please provide me with the solution for the same.

Thanks & Regards
Vishakha Mishra