HiTechPAY API Docs
API ExplorerMini AppSDK
API ExplorerMini AppSDK
  1. Device
  • Overview
  • Device
    • openCamera
    • chooseImage
    • downloadImage
    • scanQRCode
    • appInfo
    • setVolume
    • setBrightness
    • setFlashlight
  1. Device

scanQRCode

Please contact HiTechPay Team to be granted permission to use this functionality.

Device Module: scanQRCode Function#

Supported Version#

HiTechPay and HiTechPos: Only supported in HiTechPay and HiTechPos App

Description#

Scans a QR code using the device camera and returns the scanned content to the merchant app.

Parameters#

None

Return Value#

ParamData typeDescription
contentstringData scanned from the QR code (can be a URL, money transfer code, etc.)

Error Code#

N/A

Sample Code#

Sample Response#

{ 
  "data": {
    "content": ""
  },
  "status": "success"
}
Modified at 2025-12-04 10:58:14
Previous
downloadImage
Next
appInfo
Built with