POST api/WxPayment/TestWxAppPay
Request Information
URI Parameters
None.
Body Parameters
WxAppPayRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ApplicationType | UnifyPaymentApplicationType |
None. |
|
| UnifyTrainingPaymentType | UnifyTrainingPaymentType |
None. |
|
| UnifyOrderEnvironment | UnifyOrderEnvironment |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ProductName | string |
None. |
|
| TransactionCurrency | integer |
None. |
|
| TotalAmount | integer |
None. |
|
| IpAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApplicationType": 2002001,
"UnifyTrainingPaymentType": 1001,
"UnifyOrderEnvironment": 1001,
"ProductId": "321da10f-a7b6-43b3-b139-a804e94b7013",
"ProductName": "sample string 2",
"TransactionCurrency": 3,
"TotalAmount": 4,
"IpAddress": "sample string 5"
}
application/xml, text/xml
Sample:
<WxAppPayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeloitteEvent.DataModel"> <ApplicationType>WF</ApplicationType> <IpAddress>sample string 5</IpAddress> <ProductId>321da10f-a7b6-43b3-b139-a804e94b7013</ProductId> <ProductName>sample string 2</ProductName> <TotalAmount>4</TotalAmount> <TransactionCurrency>3</TransactionCurrency> <UnifyOrderEnvironment>Formal</UnifyOrderEnvironment> <UnifyTrainingPaymentType>Tax</UnifyTrainingPaymentType> </WxAppPayRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfAPPResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | APPResult |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.