POST api/PaymentRefund/Refund_PayU?API={API}&Key={Key}&AccessCode={AccessCode}&mihpayid={mihpayid}&TokenID={TokenID}

Documentation for 'Refund_PayU'.

Request Information

Parameters

NameDescriptionAdditional information
API
Documentation for 'API'.

Define this parameter in the request URI.

Key
Documentation for 'Key'.

Define this parameter in the request URI.

AccessCode
Documentation for 'AccessCode'.

Define this parameter in the request URI.

mihpayid
Documentation for 'mihpayid'.

Define this parameter in the request URI.

TokenID
Documentation for 'TokenID'.

Define this parameter in the request URI.

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'.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>