POST api/3Pay/Inner/Pay/Close
关闭某个内部第三方支付时使用本API接口。
Request Information
URI Parameters
None.
Body Parameters
InnerPayCancelParm| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNum |
业务单号,如票务则此处是售票单单据号。 |
string |
Required Max length: 20 |
| BillType |
订单类型 1-景区系统 2-Pos系统 3-租车系统 4-环保车系统,5-装备租赁业务,6-联营零售业务 因为不同的系统回调页面不一致,保存收款的表也不一致 |
string |
Required Max length: 1 |
| AutoId |
唯一ID号。 |
string |
Required Max length: 50 |
| PaymentTypeId |
付款方式的ID,只能是55储值卡,57优惠券。 |
string |
Required Max length: 2 Min length: 2 |
Request Formats
application/json, text/json
Sample:
{
"BillNum": "sample string 1",
"BillType": "sample string 2",
"AutoId": "sample string 3",
"PaymentTypeId": "sample string 4"
}
application/xml, text/xml
Sample:
<InnerPayCancelParm 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 3</AutoId> <BillNum>sample string 1</BillNum> <BillType>sample string 2</BillType> <PaymentTypeId>sample string 4</PaymentTypeId> </InnerPayCancelParm>
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接口。
CommonOperationResultWithTagOfInnerPayEndResult| Name | 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.