Purpose
This method is used by the Merchant to initiate a reversal of a previously executed payment. The myPOS Checkout API will return an XML with the result. This method is intended to be utilized by the Merchant in his website back-end. The Merchant could decide whether or not to use this method.
Method Properties
Property |
Typical value |
Type |
Required |
Description |
---|---|---|---|---|
IPC_Trnref |
12345678923 |
String |
YES |
Used to uniquely identify a transaction in IPC. Used as a parameter for subsequent refund or reversal if needed. |
OutputFormat |
XML |
String |
NO |
The output format of data. The property can be “XML” or “JSON”. If it is not specified in the request, the default value is “XML”. |
Response Properties
Property |
Typical value |
Type |
Required |
Description |
---|---|---|---|---|
IPC_Trnref |
12345678923 |
String |
YES |
Used to uniquely identify a transaction in IPC. |
Example Of The XML Response
<IPC_response>
<IPCmethod>IPCReversal</IPCmethod>
<IPC_Trnref>12345678923</IPC_Trnref>
<Status>0</Status>
<StatusMsg>Success</StatusMsg>
</IPC_response>