All data of API must be signed by signature algorithm to ensure data integrity.
{
"attach" : "It is the description of the product.",
"body" : "測試產品",
"mch_create_ip" : "127.0.0.1",
"mch_id" : "10085200000000",
"nonce_str" : "54fa7f8e1006aecb8b58ef6059abb09c",
"notify_url" : "http://www.ionline.com.hk/notify_callback",
"out_trade_no" : "TRDNO150271173415530",
"service" : "ionline.pay.weixin.native.intl",
"sign_type" : "MD5",
"total_fee" : "10",
"sign" : "6C3441C872CEEC1ACF7AB1E69D1C2C76"
}
Sample Data
<xml>
<attach><![CDATA[It is the description of the product.]]></attach>
<body><![CDATA[測試產品]]></body>
<charset><![CDATA[UTF-8]]></charset>
<fee_type><![CDATA[HKD]]></fee_type>
<mch_id><![CDATA[10085200000000]]></mch_id>
<nonce_str><![CDATA[6223366e0ef913c796724bd1e7752a94]]></nonce_str>
<out_trade_no><![CDATA[TRDNO150271173415530]]></out_trade_no>
<out_transaction_id><![CDATA[40041381923874895783497893213]]></out_transaction_id>
<sign_type><![CDATA[MD5]]></sign_type>
<time_end><![CDATA[20170815094100]]></time_end>
<total_fee><![CDATA[10]]></total_fee>
<trade_type><![CDATA[ionline.pay.weixin.native.intl]]></trade_type>
<transaction_id><![CDATA[10085200000000150271173415530]]></transaction_id>
<version><![CDATA[1.0]]></version>
<sign><![CDATA[BFEF1345185B591EF06FBFB268DB0198]]></sign>
</xml>