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.
Transfer method | Using HTTP |
Request method | POST/GET |
Encoding | UTF-8 |
Signature algorithm | MD5 |
Transaction amount: default CAD
, in cents, no decimal. USD
is only supported if you are a American Merchant.
Payment channel | Scenario | Note |
---|
WX_JSAPI | Payment in WeChat Mini Program | Mini program need APPID |
WX_JSAPI | Payment in WeChat Web Browser | The endpoint is payForSubmit rather than create_order . This channel supports CNY |
WX_NATIVE | PC WEB, POS machine | User use WeChat to scan the QR code generated by merchant. This channel supports CNY |
WX_MICROPAY | offline shops | Merchant scan the barcode on user's WeChat, scan device required |
WX_APP | Payment from merchant's app | Merchant need provide APPID to IOTPay, WeChat pay SDK required |
Payment channel | Scenario | Note |
---|
ALIPAY_WAP | web in mobile browser | Page in mobile browser or app's web view. This channel supports CNY |
ALIPAY_PC | web in pc browser | Will redirect to Alipay web to log in with account. This channel supports CNY |
ALIPAY_QR | PC website, POS terminal with screen | User use Alipay to scan the QR code generated by merchant |
ALIPAY_MICROPAY | offline shops | Merchant scan the barcode on user's Alipay, scanner required |
ALIPAY_MOBILE | pay from merchant's app | Alipay SDK required |
Payment channel | Scenario | Note |
---|
UPI_SEQ | UnionPay Online payment | Redirect to UnionPay web or application. This channel supports CNY |
UPI_QR | PC website, POS terminal with screen | User use UnionPay App to scan merchant QR Code |
UPI_MICROPAY | offline shops | Merchant need scanner, offline |
UPI_APP | Payment from merchant's app | UnionPay SDK required |
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.
Channel ID | Channel description |
---|
WX_JSAPI | Payment in WeChat Mini Program |
WX_MICROPAY | Merchant scan customer's WeChat payment barcode |
WX_NATIVE | Customer use WeChat to scan merchant's QR code |
WX_APP | Payment from merchant's app with WeChat pay SDK integrated |
ALIPAY_MOBILE | Alipay in merchant's app with alipay sdk integrated |
ALIPAY_PC | Alipay in web page in pc browser |
ALIPAY_WAP | Alipay in web page in mobile browser |
ALIPAY_QR | Customer use alipay to scan merchant's payment barcode |
ALIPAY_MICROPAY | Merchant scan customer's alipay payment barcode |
UPI_MICROPAY | UnionPay(Merchant scan customer's QR code) |
UPI_QR | UnionPay(Customer scan merchant's QR code) |
UPI_SEQ | UnionPay Online payment (redirect to UnionPay web, or app) |
UPI_APP | UnionPay Online payment (using UnionPay SDK) |
CC_PAX | Semi integration with Credit card terminal |
Channel ID | Channel description |
---|
WX_JSAPI | Payment in WeChat Web Browser |
- Alipay, WeChat Pay and UnionPay online: support both CAD and USD;
- Credit card, UnionPay offline: support only CAD;
- CAD: Canada dollar--Canada company
- USD: US dollar--American company