POST api/MP_Pay/AddUnifiedOrder?sOpenID={sOpenID}&sUserToken={sUserToken}&sAppID={sAppID}&sKey={sKey}&sConnection={sConnection}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| item | No documentation available. |
Define this parameter in the request body. |
| sOpenID | No documentation available. |
Define this parameter in the request URI. |
| sUserToken | No documentation available. |
Define this parameter in the request URI. |
| sAppID | No documentation available. |
Define this parameter in the request URI. |
| sKey | No documentation available. |
Define this parameter in the request URI. |
| sConnection | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"appid": "sample string 2",
"mch_id": "sample string 3",
"device_info": "sample string 4",
"nonce_str": "sample string 5",
"sign": "sample string 6",
"sign_type": "sample string 7",
"body": "sample string 8",
"detail": "sample string 9",
"attach": "sample string 10",
"out_trade_no": "sample string 11",
"fee_type": "sample string 12",
"total_fee": 13,
"spbill_create_ip": "sample string 14",
"time_start": "sample string 15",
"time_expire": "sample string 16",
"goods_tag": "sample string 17",
"notify_url": "sample string 18",
"trade_type": "sample string 19",
"product_id": "sample string 20",
"limit_pay": "sample string 21",
"openid": "sample string 22"
}
application/xml, text/xml
Sample:
<unifiedorder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers.MiniProgram"> <appid>sample string 2</appid> <attach>sample string 10</attach> <body>sample string 8</body> <detail>sample string 9</detail> <device_info>sample string 4</device_info> <fee_type>sample string 12</fee_type> <goods_tag>sample string 17</goods_tag> <limit_pay>sample string 21</limit_pay> <mch_id>sample string 3</mch_id> <nonce_str>sample string 5</nonce_str> <notify_url>sample string 18</notify_url> <openid>sample string 22</openid> <out_trade_no>sample string 11</out_trade_no> <product_id>sample string 20</product_id> <sign>sample string 6</sign> <sign_type>sample string 7</sign_type> <spbill_create_ip>sample string 14</spbill_create_ip> <time_expire>sample string 16</time_expire> <time_start>sample string 15</time_start> <title>sample string 1</title> <total_fee>13</total_fee> <trade_type>sample string 19</trade_type> </unifiedorder>
application/x-www-form-urlencoded
Sample:
Sample not available.