POST api/Payment/Refund
Request Information
URI Parameters
None.
Body Parameters
PurchaseRefundRequestName | Description | Type | Additional information |
---|---|---|---|
SaleId | globally unique identifier |
None. |
|
RefundAmount | decimal number |
None. |
Request Formats
[application/json, { "SaleId": "c12ac6e1-07f1-4e1b-aa31-80c3e1a5972a", "RefundAmount": 1.0 }][text/json, { "SaleId": "c12ac6e1-07f1-4e1b-aa31-80c3e1a5972a", "RefundAmount": 1.0 }][application/xml, <PurchaseRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <RefundAmount>1</RefundAmount> <SaleId>c12ac6e1-07f1-4e1b-aa31-80c3e1a5972a</SaleId> </PurchaseRefundRequest>][text/xml, <PurchaseRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <RefundAmount>1</RefundAmount> <SaleId>c12ac6e1-07f1-4e1b-aa31-80c3e1a5972a</SaleId> </PurchaseRefundRequest>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PurchaseRefundRequest'.]Response Information
Resource Description
IHttpActionResultNone.