Skip to main content

openInternalBrowser

Description

Open a website by opening a new webview in Zalopay App

Parameters

ParamData typeRequiredDescription
urlstringYesLink to desired website

Return Value

N/A

Error Code

Error CodeDescription
050301Invalid url

Sample Code and Sample Return Data

Sample Request:

window.zlpSdk.Navigator
.openInternalBrowser({ url: "https://zalopay.vn/" })
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Sample Response:

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