Developer Discussions

Ask a Question
Back to All

How to use parameter 'redirectUrl' in endpoint 'Create Dynamic QR'

Hi Maya Dev,

I am using the endpoint 'Create Dynamic QR' to implement QR code payment. I set redirectUrl including 'success','failure','cancel' with some url parameters. Would like to check with the flow:

  1. The website retrieves Maya QR code url from endpoint 'Create Dynamic QR', and redirect User to the QR code url.
  2. User opens Maya app with mobile, then scans the QR code.
  3. If User pays successfully, in mobile it will redirect to the 'success' url of 'redirectUrl' I set before, same as 'failure' and 'cancel' scenarios.

Is that correct?

And what happens if I leave 'redirectUrl' empty?

Best Regards,