POST api/3Pay/Polyment/ZhuShan/Close
关闭当前订单 《1》调用银联支付接口关闭当前订单 注:该接口必须要连上互联网,否则会失败,请直接部署至外网服务器
Request Information
URI Parameters
None.
Body Parameters
订单号
PolymentPayQueryParmName | Description | Type | Additional information |
---|---|---|---|
billnum |
单号。 |
string |
Required Max length: 20 |
billtype |
订单类型 1-景区系统 2-Pos系统 3-租车系统 4-环保车系统 因为不同的系统回调页面不一致,保存收款的表也不一致 |
string |
Required Max length: 1 |
autoid |
对于售票格式为:付款方式|交易类型|本单流水号 对于其他电子支付:全局流水号 |
string |
Required Max length: 36 |
paytype |
付款方式。 |
string |
Required Max length: 2 |
terminalCode |
设备终端号 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "billnum": "sample string 1", "billtype": "sample string 2", "autoid": "sample string 3", "paytype": "sample string 4", "terminalCode": "sample string 5" }
application/xml, text/xml
Sample:
<PolymentPayQueryParm 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> <paytype>sample string 4</paytype> <terminalCode>sample string 5</terminalCode> </PolymentPayQueryParm>
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
关闭当前订单 《1》调用银联支付接口关闭当前订单 注:该接口必须要连上互联网,否则会失败,请直接部署至外网服务器
CommonOperationResultWithTagOfPayCancelResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PayCancelResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "autoid": "sample string 2", "applyresult": "sample string 3", "applyresultdesc": "sample string 4" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPayCancelResultKp9g8rEY 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:applyresult>sample string 3</d2p1:applyresult> <d2p1:applyresultdesc>sample string 4</d2p1:applyresultdesc> <d2p1:autoid>sample string 2</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> </tag> </CommonOperationResultWithTagOfPayCancelResultKp9g8rEY>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.