openDeepLink
Description
Open a screen in the Zalopay app using deeplink
Parameters
Param | Data type | Required | Description |
---|---|---|---|
url | string | Yes | Deeplink to desired screen |
Return Value
N/A
Error Code
Error Code | Description |
---|---|
050201 | Invalid deeplink |
050202 | Deeplink 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" }