POST api/Pos/Busi/Refund/Pay/WithEPay
电子支付沿原路退回时,使用此API。
Request Information
URI Parameters
None.
Body Parameters
支付的参数。
PosRefundWithEPayName | Description | Type | Additional information |
---|---|---|---|
billnum |
退货单号。 |
string |
Required Max length: 20 |
paymentvalue |
支付的金额。 |
decimal number |
Required |
paymenttype |
付款方式的ID。 |
string |
Required Max length: 2 |
Request Formats
application/json, text/json
Sample:
{ "billnum": "sample string 1", "paymentvalue": 2.0, "paymenttype": "sample string 3" }
application/xml, text/xml
Sample:
<PosRefundWithEPay 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> <paymenttype>sample string 3</paymenttype> <paymentvalue>2</paymentvalue> </PosRefundWithEPay>
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。
CommonOperationResultWithTagOfPosRefundPaymentResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PosRefundPaymentResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "autoid": 2, "refundcomplete": "sample string 3", "oldautoid": 4, "oldownerbusino": "sample string 5", "thirdpartno": "sample string 6", "thirdpartno2": "sample string 7", "paymentaccount": "sample string 8", "receiveaccount": "sample string 9" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPosRefundPaymentResultldpHZqFJ 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"> <d2p1:autoid>2</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:oldautoid>4</d2p1:oldautoid> <d2p1:oldownerbusino>sample string 5</d2p1:oldownerbusino> <d2p1:paymentaccount>sample string 8</d2p1:paymentaccount> <d2p1:receiveaccount>sample string 9</d2p1:receiveaccount> <d2p1:refundcomplete>sample string 3</d2p1:refundcomplete> <d2p1:thirdpartno>sample string 6</d2p1:thirdpartno> <d2p1:thirdpartno2>sample string 7</d2p1:thirdpartno2> </tag> </CommonOperationResultWithTagOfPosRefundPaymentResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.