POST api/PaymentRefund/Refund

Documentation for 'Refund'.

Request Information

Parameters

NameDescriptionAdditional information
Request
Documentation for 'Request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "TransactionId": "sample string 2",
  "PaymentRefNumber": "sample string 3",
  "Amount": 4.0,
  "Application": "sample string 5",
  "Refund_RequestID": "sample string 6",
  "Refund_Status": "sample string 7",
  "RefundRefNumber": "sample string 8",
  "Message": "sample string 9",
  "Mode": "sample string 10"
}

application/xml, text/xml

Sample:
<PaymentRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TVSE_Payments.Models">
  <Amount>4</Amount>
  <Application>sample string 5</Application>
  <Message>sample string 9</Message>
  <Mode>sample string 10</Mode>
  <OrderId>sample string 1</OrderId>
  <PaymentRefNumber>sample string 3</PaymentRefNumber>
  <RefundRefNumber>sample string 8</RefundRefNumber>
  <Refund_RequestID>sample string 6</Refund_RequestID>
  <Refund_Status>sample string 7</Refund_Status>
  <TransactionId>sample string 2</TransactionId>
</PaymentRefundRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'PaymentRefundRequest'.