POST api/Consult/ContractWeiXinPay
阶段合同支付
Request Information
URI Parameters
None.
Body Parameters
PayOrderParameterName | Description | Type | Additional information |
---|---|---|---|
PayType |
支付类型 0-微信支付 1-余额支付 |
integer |
None. |
OrderNo |
订单编号 |
string |
None. |
WxOpenid |
微信WxOpenid |
string |
None. |
WxCode |
微信WxCode |
string |
None. |
NewUrl |
重定向地址 |
string |
None. |
StageId |
合同阶段Id |
integer |
None. |
PayPWd |
支付密码 |
string |
None. |
IsWxMWEBPay |
是否微信H5支付 0-否 1-是 |
integer |
None. |
UserId |
用户编号 |
string |
None. |
Token |
Token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PayType": 1, "OrderNo": "sample string 2", "WxOpenid": "sample string 3", "WxCode": "sample string 4", "NewUrl": "sample string 5", "StageId": 6, "PayPWd": "sample string 7", "IsWxMWEBPay": 8, "UserId": "sample string 9", "Token": "sample string 10" }
application/xml, text/xml
Sample:
<PayOrderParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ConsultModels"> <Token>sample string 10</Token> <UserId>sample string 9</UserId> <IsWxMWEBPay>8</IsWxMWEBPay> <NewUrl>sample string 5</NewUrl> <OrderNo>sample string 2</OrderNo> <PayPWd>sample string 7</PayPWd> <PayType>1</PayType> <StageId>6</StageId> <WxCode>sample string 4</WxCode> <WxOpenid>sample string 3</WxOpenid> </PayOrderParameter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
阶段合同支付
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |