POST api/Refund
Request Information
URI Parameters
None.
Body Parameters
RefundRequestName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
Required |
|
TransactionNo | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Amount": 1.1, "TransactionNo": "sample string 2" }
application/xml, text/xml
Sample:
<RefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TabPromo.TabletPos.Web.Service.Models.Api.Refund.Refund.Request"> <Amount>1.1</Amount> <TransactionNo>sample string 2</TransactionNo> </RefundRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefundResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseResult | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseResult": { "Result": true, "ExceptionDetail": "sample string 2" } }
application/xml, text/xml
Sample:
<RefundResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TabPromo.TabletPos.Web.Service.Models.Api.Refund.Refund.Response"> <ResponseResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/TabPromo.TabletPos.Web.Service.Models.Api"> <d2p1:ExceptionDetail>sample string 2</d2p1:ExceptionDetail> <d2p1:Result>true</d2p1:Result> </ResponseResult> </RefundResponse>