POST api/AliPay/PreOrderV2
Request Information
URI Parameters
None.
Body Parameters
PerOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| packageName | string |
None. |
|
| md5 | string |
None. |
|
| body | string |
None. |
|
| chandid | string |
None. |
|
| stype | integer |
None. |
|
| ver | string |
None. |
|
| HasHongbao | integer |
None. |
|
| UnionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"packageName": "sample string 1",
"md5": "sample string 2",
"body": "sample string 3",
"chandid": "sample string 4",
"stype": 5,
"ver": "sample string 6",
"HasHongbao": 7,
"UnionId": "sample string 8"
}
application/xml, text/xml
Sample:
<PerOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AliPayForJyV2.Models"> <HasHongbao>7</HasHongbao> <UnionId>sample string 8</UnionId> <body>sample string 3</body> <chandid>sample string 4</chandid> <md5>sample string 2</md5> <packageName>sample string 1</packageName> <stype>5</stype> <ver>sample string 6</ver> </PerOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PreOrderV2Res| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| body | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"body": "sample string 2"
}
application/xml, text/xml
Sample:
<PreOrderV2Res xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AliPayForJyV2.Models"> <body>sample string 2</body> <status>1</status> </PreOrderV2Res>