POST api/EquipmentLease/Payment/ByCash
使用现金进行支付
Request Information
URI Parameters
None.
Body Parameters
ReceiveMoneyBeginCashPayParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
租赁单号 |
string |
Required |
TradeType |
交易类型 1-收款 2-退款 |
string |
Required |
PaymentId |
支付方式类型 00-现金 99 预订金支付(仅指预订金账户支付)。 98 支付宝扫码支付,客人扫屏幕付款码,主扫。 97 支付宝条码支付,扫客人手机付款码,被扫。 96 支付宝网上支付(原来叫即时到账)。用于在网站上支付购票款时,跳转支付宝支付界面的支付类型。 95 微信线上支付,用于在网站上用微信支付购票款时的付款方式(通常是跳出一个条码,让客人扫码)。这是一个过时的设计。 94 微信线下扫码支付,客人扫屏幕的付款码,主扫。 91 微信线下条码支付,扫客人手机付款码,被扫。 79 微信小程序,专指客人通过手机小程序购票时付款的支付方式。 71 银联支付(竹山专用)。 70 农业银行聚合码扫码支付(客人扫屏幕上的码,主扫)。 69 农业银行聚合码条码支付(扫客人的付款码,被扫) 68 农业银行POS机支付(连接电脑的POS,自动签到,自动显示金额,挥卡可付款,可以扫客人的付款码(含微信,支付宝,聚合码,数字人民币))。 55 内部的支付方式(常规储值卡)。 58 内部支付方式(结算时减免)。 57 内部支付方式(优惠券)。 |
string |
Required |
ReceiveMoney |
收款金额 |
decimal number |
Required |
Request Formats
application/json, text/json
{ "BillNum": "sample string 1", "TradeType": "sample string 2", "PaymentId": "sample string 3", "ReceiveMoney": 4.0 }
application/xml, text/xml
<ReceiveMoneyBeginCashPayParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <BillNum>sample string 1</BillNum> <PaymentId>sample string 3</PaymentId> <ReceiveMoney>4</ReceiveMoney> <TradeType>sample string 2</TradeType> </ReceiveMoneyBeginCashPayParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
使用现金进行支付
CommonOperationResultWithTagOfELReceiveResultParmName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | ELReceiveResultParm |
None. |
Response Formats
application/json, text/json
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "BillNum": "sample string 1", "ReceiveTradeId": 2, "IsComplete": true, "IsClosed": true, "ReceivedSummary": 5.0, "TradeStatusOnPaymentPlatform": "sample string 6" } }
application/xml, text/xml
<CommonOperationResultWithTagOfELReceiveResultParmlTRO8TLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:BillNum>sample string 1</d2p1:BillNum> <d2p1:IsClosed>true</d2p1:IsClosed> <d2p1:IsComplete>true</d2p1:IsComplete> <d2p1:ReceiveTradeId>2</d2p1:ReceiveTradeId> <d2p1:ReceivedSummary>5</d2p1:ReceivedSummary> <d2p1:TradeStatusOnPaymentPlatform>sample string 6</d2p1:TradeStatusOnPaymentPlatform> </tag> </CommonOperationResultWithTagOfELReceiveResultParmlTRO8TLE>
application/bson
Binary JSON content. See http://bsonspec.org for details.