Tips: You can use the POSTMAN to test API

post:/order.json
*long:amount#(In cents. i.e 100= 1RMB, 1000=10RMB)
*bizNo#(APP transaction number produced and kept by client for record keeping.)
*goodsTitle#(APP order title. This will be displayed during payment. i.e "Premium subscription 3 months")
*payChannel#(target pay channel, i.e. WECHAT or ALIPAY)
customerIdentity#(recommend fill, refer to purchase restore section/ sms code section)
attachData#(optional field for extra data you may need to attach and send to our server)
sourceFrom#(optional field to attach app store names in the event you choose to track payments from each different store. This requires additional code in your app as well as different apks for each store)
<<<
success(Wechat)
{
    "msg": "success",
    "code": 0,
    "data": {
        "appid": "",
        "noncestr": "",
        "package": "Sign=WXPay",
        "partnerid": "",
        "prepayid": "",
        "sign": "",
        "timestamp": 1551708575
    }
}
<<<
success(Alipay)
{
    "msg": "success",
    "code": 0,
    "data": {

    }
}
<<<
error
{
    code: "error code",
    msg: "error message"
}

List of app store names and input format for sourceFrom field

Tencent MyApp: tencent

Huawei App Market: huawei

Oppo Software Store: oppo

360 Mobile Assistant: 360

Baidu Mobile Assistant/91 Assistant/ Himarket: baidu

MIUI App Store: miui

VIVO App Store: vivo

PP Assistant/Wandoujia/Taobao: pp

China Mobile MM Store: chinamm

Anzhi Market: anzhi

Sogou Mobile Assistant: sogou

Meizu Flyme: meizu

Coolpad: coolpad

Lenovo Store: lenovo

Samsung App Store: samsung

AppChina: appchina

Others: others