Skip to main content

closeWindow

Description

Close the miniapp screen

Parameters

N/A

Return Value

N/A

Error Code

Error CodeDescription
040701Could not find the webview to close

Sample Code and Sample Return Data

Sample Request:

window.zlpSdk.UI
.closeWindow()
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Sample Response:

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