Custom redirect on payment completion#
Through the Partner API, it is possible to specify a redirect URL (returnUrl
) for a given payment link. This redirect will be triggered upon payment completion, allowing for Lopay payment links to directly integrate with your own flows.When redirecting the payee to the specified URL, Lopay will attach additional query data to that URL. The possible attached query parameters can be seen in the table below.Query param | Values | Description |
---|
status | successful | Indication of payment link payment status. Currently redirects will only happen after successful payment completion. |
paymentRequestId | string | The ID of the payment link from which the redirect has been triggered. |
A null
value will mean that no redirect will be triggered, and is the default value if no returnUrl
value specified.Modified at 2025-03-03 16:50:15