POST api/RefundPayment

Request Information

URI Parameters

None.

Body Parameters

RefundPaymentRequest
NameDescriptionTypeAdditional information
MerchantCode

string

None.

TranReqNo

string

None.

PaymentTransactionID

string

None.

RefundAmount

decimal number

None.

Remarks

string

None.

Checksum

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MerchantCode": "sample string 1",
  "TranReqNo": "sample string 2",
  "PaymentTransactionID": "sample string 3",
  "RefundAmount": 4.1,
  "Remarks": "sample string 5",
  "Checksum": "sample string 6"
}

application/xml, text/xml

Sample:
<RefundPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MOSPayWebAPI.Models">
  <Checksum>sample string 6</Checksum>
  <MerchantCode>sample string 1</MerchantCode>
  <PaymentTransactionID>sample string 3</PaymentTransactionID>
  <RefundAmount>4.1</RefundAmount>
  <Remarks>sample string 5</Remarks>
  <TranReqNo>sample string 2</TranReqNo>
</RefundPaymentRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.