Introduction#
HiTechPay MiniApp SDK provides functions for a Merchant's Web application to directly interact with or provide information related to navigation, user interface, user details, etc., on the HiTechPay application and HiTechPay and HiTechPos MiniApp within the HiTechPay and HiTechPos application.Terminology#
zpa (HiTechPay App): The function can only be used in the HiTechPay app (Android/iOS).
zpi (HiTechPay Integration in HiTechPos and HiTechPay App): The function can only be used in the HiTechPay MiniApp inside the HiTechPay app.
android: The function can only be used in the HiTechPay app on Android.
ios: The function can only be used in the HiTechPay app on iOS.
Integration & Usage Instructions#
Integrate SDK via CDN#
Include the corresponding SDK link in your web page:
MiniApp SDK Usage#
Merchant applications invoke SDK functions in the format:
window.zlpSdk.[Category].[Function](params)
Common Error Codes#
| Error Code | Description |
|---|
| 000000 | Invalid parameter |
| 000001 | Unknown error |
| 000002 | Function not yet supported |
| 000003 | Merchant's App not granted permission to use the function |
| 000004 | Invalid App Id |
Request Permission for SDK Functions#
Some SDK functions require permission.
Merchants must send a permission request to the HiTechPay team to use these functions.
Running Sample Apps with MiniApp SDK#
ZPA (HiTechPay App and HiTechPos):
Open hitechpay or hitechpos://launch/app/999 via deeplink on your mobile device
Test Applications#
Merchants can download various HiTechPay and HiTechPos test application versions from
HiTechPay's Test Wallets Page
Modified at 2025-12-04 10:27:01