POST api/VPOS/ConfirmPayment

Confirm Payment

Request Information

URI Parameters

None.

Body Parameters

ConfirmRequest model

ConfirmPaymentRequest
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:
<ConfirmPaymentRequest 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>
</ConfirmPaymentRequest>

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

Response Information

Resource Description

ConfirmResponse model

ConfirmPaymentResponse
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:
<ConfirmPaymentResponse 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>
</ConfirmPaymentResponse>