POST api/Pay/PayWithCash
使用现金支付
Request Information
URI Parameters
None.
Body Parameters
现金支付详情
CashPayDetailName | Description | Type | Additional information |
---|---|---|---|
TradeName |
商品名称 |
string |
None. |
PayOrder |
支付订单号 |
string |
None. |
TradeDescription |
交易描述 |
string |
None. |
TotalFee |
支付金额(分:理论最小支付单位) |
integer |
None. |
State |
支付唯一32位识别码 |
string |
None. |
TableId |
关联表 |
PayTableId |
None. |
SmallAppId |
小程序类型 |
WxSmallType |
None. |
LoginCode |
登陆Code |
string |
None. |
TradeShortName |
商品短名称 |
string |
None. |
TradeShortDescription |
交易短描述 |
string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<CashPayDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Payment"> <LoginCode>sample string 6</LoginCode> <PayOrder>sample string 2</PayOrder> <SmallAppId>WxSmallTc</SmallAppId> <State>sample string 5</State> <TableId>ThisNot</TableId> <TotalFee>4</TotalFee> <TradeDescription>sample string 3</TradeDescription> <TradeName>sample string 1</TradeName> </CashPayDetail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
使用现金支付
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />