Skip to main content

openDeepLink

Description

Open a screen in the Zalopay app using deeplink

Parameters

ParamData typeRequiredDescription
urlstringYesDeeplink to desired screen

Return Value

N/A

Error Code

Error CodeDescription
050201Invalid deeplink
050202Deeplink not found

Sample Code and Sample Return Data

Sample Request:

window.zlpSdk.Navigator
.openDeepLink({ url: "zalopay://launch/app/61" })
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Sample Response:

{ data: {}, status: "success" }