POST api/UnPos/3Pay/Inner/Pay/End
内部第三方支付完成之后,调用本API接口应用至单据。
Request Information
URI Parameters
None.
Body Parameters
InnerPayEndParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
业务单号,如票务则此处是售票单单据号。 |
string |
Required Max length: 20 |
PaymentTypeId |
付款方式的ID,只能是55储值卡,57优惠券。 |
string |
Required Max length: 2 Min length: 2 |
BillType |
订单类型 1-景区系统 2-Pos系统 3-租车系统 4-环保车系统,5-装备租赁业务,6-联营零售业务 因为不同的系统回调页面不一致,保存收款的表也不一致 |
string |
Required Max length: 1 |
AutoId |
唯一ID号。 |
string |
Required Max length: 50 |
ThirdPartBillNum |
第三方支付的订单号。 |
string |
Required Max length: 50 |
PaymentAccount |
付款方账号。 |
string |
Required Max length: 50 |
ThirdPartName |
第三方支付方式的附加名称。 |
string |
None. |
ReceivedAmount |
收款金额,必须大于零。 实际的收款金额。 |
decimal number |
Required |
CompleteTime |
完成支付的时间。 |
string |
Max length: 14 |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "PaymentTypeId": "sample string 2", "BillType": "sample string 3", "AutoId": "sample string 4", "ThirdPartBillNum": "sample string 5", "PaymentAccount": "sample string 6", "ThirdPartName": "sample string 7", "ReceivedAmount": 8.0, "CompleteTime": "sample string 9" }
application/xml, text/xml
Sample:
<InnerPayEndParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Pay"> <AutoId>sample string 4</AutoId> <BillNum>sample string 1</BillNum> <BillType>sample string 3</BillType> <CompleteTime>sample string 9</CompleteTime> <PaymentAccount>sample string 6</PaymentAccount> <PaymentTypeId>sample string 2</PaymentTypeId> <ReceivedAmount>8</ReceivedAmount> <ThirdPartBillNum>sample string 5</ThirdPartBillNum> <ThirdPartName>sample string 7</ThirdPartName> </InnerPayEndParm>
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
内部第三方支付完成之后,调用本API接口应用至单据。
CommonOperationResultWithTagOfInnerPayEndResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | InnerPayEndResult |
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:
<CommonOperationResultWithTagOfInnerPayEndResultKp9g8rEY 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> </CommonOperationResultWithTagOfInnerPayEndResultKp9g8rEY>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.