POST api/UnPos/3Pay/Inner/Pay/Begin
内部电子支付的起手动作,这个动作的用户是产生一个在途的付款记录。
Request Information
URI Parameters
None.
Body Parameters
InnerPayStartParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
业务单号,如票务则此处是售票单单据号。 |
string |
Required Max length: 20 |
BillType |
订单类型 1-景区系统 2-Pos系统 3-租车系统 4-环保车系统,5-装备租赁业务,6-联营零售业务 因为不同的系统回调页面不一致,保存收款的表也不一致 |
string |
Required Max length: 1 |
PayAmount |
收款金额,必须大于零。 在作内部支付时,最终系统中记录的收款金额以实际发生为准。 |
decimal number |
Required |
PaymentTypeId |
付款方式的ID,只能是55储值卡,57优惠券。 |
string |
Required Max length: 2 Min length: 2 |
memory |
备注 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "BillType": "sample string 2", "PayAmount": 3.0, "PaymentTypeId": "sample string 4", "memory": "sample string 5" }
application/xml, text/xml
Sample:
<InnerPayStartParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Pay"> <BillNum>sample string 1</BillNum> <BillType>sample string 2</BillType> <PayAmount>3</PayAmount> <PaymentTypeId>sample string 4</PaymentTypeId> <memory>sample string 5</memory> </InnerPayStartParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
内部电子支付的起手动作,这个动作的用户是产生一个在途的付款记录。
CommonOperationResultWithTagOfInnerPayBeginResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | InnerPayBeginResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "BillNum": "sample string 1", "AutoId": "sample string 2", "BillStatus": "sample string 3" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfInnerPayBeginResultKp9g8rEY 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.Result.Pay"> <d2p1:AutoId>sample string 2</d2p1:AutoId> <d2p1:BillNum>sample string 1</d2p1:BillNum> <d2p1:BillStatus>sample string 3</d2p1:BillStatus> </tag> </CommonOperationResultWithTagOfInnerPayBeginResultKp9g8rEY>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.