POST api/WxPay/WxPayJSAPIPay
Request Information
URI Parameters
None.
Body Parameters
WxPayJSAPIRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | globally unique identifier |
None. |
|
| AttendeeListId | Collection of globally unique identifier |
None. |
|
| ClientIP | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| Code | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": "be8092d7-5f03-4c81-9f14-6d290a27c137",
"AttendeeListId": [
"2344e753-3044-47c4-b37e-8980e3ca36fe",
"ec03f774-517b-4621-a10d-ff8d9f04aeff"
],
"ClientIP": "sample string 2",
"TotalAmount": 3.0,
"Code": "sample string 4"
}
application/xml, text/xml
Sample:
<WxPayJSAPIRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeloitteEvent.DataModel">
<AttendeeListId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2344e753-3044-47c4-b37e-8980e3ca36fe</d2p1:guid>
<d2p1:guid>ec03f774-517b-4621-a10d-ff8d9f04aeff</d2p1:guid>
</AttendeeListId>
<ClientIP>sample string 2</ClientIP>
<Code>sample string 4</Code>
<EventId>be8092d7-5f03-4c81-9f14-6d290a27c137</EventId>
<TotalAmount>3</TotalAmount>
</WxPayJSAPIRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfWxJSAPIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | WxJSAPIResult |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.