POST api/VPOS/RefundPayment

Refund Payment

Request Information

URI Parameters

None.

Body Parameters

RefundRequest model

RefundPaymentRequest
NameDescriptionTypeAdditional information
PaymentID

string

None.

Username

string

None.

Password

string

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentID": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Amount": 4.0
}

application/xml, text/xml

Sample:
<RefundPaymentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PaymentID>sample string 1</PaymentID>
  <Username>sample string 2</Username>
  <Password>sample string 3</Password>
  <Amount>4</Amount>
</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

RefundResponse model

RefundPaymentResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

Opaque

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "Opaque": "sample string 3"
}

application/xml, text/xml

Sample:
<RefundPaymentResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <Opaque>sample string 3</Opaque>
</RefundPaymentResponse>