POST api/VPOS/CancelPayment
Reverse Payment
Request Information
URI Parameters
None.
Body Parameters
ReverseRequest model
CancelPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentID | string |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentID": "sample string 1",
"Username": "sample string 2",
"Password": "sample string 3"
}
application/xml, text/xml
Sample:
<CancelPaymentRequest 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> </CancelPaymentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReverseResponse model
CancelPaymentResponse| Name | Description | Type | Additional 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:
<CancelPaymentResponse 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> </CancelPaymentResponse>