POST api/Payment/Refund

Request Information

URI Parameters

None.

Body Parameters

PurchaseRefundRequest
NameDescriptionTypeAdditional information
SaleId

globally unique identifier

None.

RefundAmount

decimal number

None.

Request Formats

[application/json, { "SaleId": "d56d14fe-0c0c-43f3-9c0c-176e3fb1c81d", "RefundAmount": 1.0 }][text/json, { "SaleId": "d56d14fe-0c0c-43f3-9c0c-176e3fb1c81d", "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>d56d14fe-0c0c-43f3-9c0c-176e3fb1c81d</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>d56d14fe-0c0c-43f3-9c0c-176e3fb1c81d</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

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]