What is the purpose of the redirectUrl in the API request? Could we use dynamic values per request?
The ‘redirectUrl’ in the API request is used to redirect the customer to the API Consumer’s result pages after processing a transaction or wallet linking. It includes ‘success’, ‘failure’, and ‘cancel’ URLs, which are pre-defined and hosted on the API Consumer’s website. While the documentation does not explicitly prohibit dynamic values, it suggests that these URLs should be pre-defined. You can potentially use dynamic values by including parameters in the URLs, such as ‘http://shop.someserver.com/success?id=6319921’, but ensure they are properly handled on your server.
For Sandbox concerns and other technical implementation inquiries, please get in touch with us via:
- Sandbox Health Page: Check real-time service status updates.
- Maya Developer Hub Service Desk: File
a ticket in Sandbox.
We value your input and would love to hear your insights. Please submit you feedback here.