Skip to main content

Redirect

Add a link anywhere in your app to open Melio in it's own broser tab.

To create a redirect link you'll need to retrieve the EmbedUrl from partner portal and add specific query parameters to it.

https://<embedUrl>?code=<code>&target=<target>&returnUrl=<callback url>&entrypoint=<entrypoint>
ParameterRequiredDescriptionSamples
embedUrlYesThe embed url provided to you. This can be partner branded.https://partnerships.melioservices.com/auth/my-partnerName
tokenYesAn authentication_code, session or jwe token used to authenticate with the partner backend services. This token should allow identifying the user and retrieving any data required for initial setup
targetnoThe screen to send the user to in the Melio web application after successful authentication. If not provided will default to pay dashboard
entrypointyesA freeform string representing what page/screen and action the user came from in the host applicationbillpay-click-pay
returnUrlyesCallback url to return when users presses back or wants to exit the Melio web application.Urls can include query parameters, but not hasheshttps://bank.com/business