Skip to main content

showScanQR

Note
Please contact Zalopay Team to be granted permission to use this functionality.

Supported Version

zpa
Only supported in Zalopay App

Description

Open Zalopay's QR code scanning feature

Parameters

N/A

Return Value

N/A

Error Code

N/A

Sample Code and Sample Return Data

Sample Request:

window.zlpSdk.Device
.showScanQR()
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Sample Response:

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