# IoTPay API Interface Document
# Before integrate
Before starting integration, merchants need to sign a contract with IoTPay for related products.
Merchant gets the merchant ID and merchant key of the test account.
Merchants need to provide IoTPay with APPID for binding with APP or WeChat mini program to access WeChat payment.
# Choose right payment channel
|WX_JSAPI||Mobile web in wechat app or mini program||mini program need APPID|
|WX_NATIVE||PC WEB，POS machine||user use wechat to scan the qrcode generated by merchant|
|WX_APP||pay from merchant's app||merchant need provide APPID to IOTPay, wechat pay sdk required|
|WX_MICROPAY||offline shops||merchant scan the barcode on user's wechat, scan device required|
|ALIPAY_MOBILE||pay from merchant's app||alipay sdk required。|
|ALIPAY_WAP||web in mobile browser||page in mobile browser or app's webview|
|ALIPAY_PC||web in pc browser||will redirect to alipay web to login with account|
|ALIPAY_QR||PC website，pos terminal with screen||user use alipay to scan the qrcode generated by merchant|
|ALIPAY_MICROPAY||offline shops||merchant scan the barcode on user's alipay, scan device required|
# About WX_JSAPI:
User open page in wechat app and redirect to IOTPay page to fulfill payment. After create order, payUrl will be returned for merchant to redirect to.
# Currency supported
- CAD:Canada dollar--Canada company
- USD:US dollar--American company