Deprecated feature

APPROVEREVERSAL

An ApproveReversal command modifies the approved amount of a payment. For example, if a payment enters the ApprovalExpired state, then you can use the ApproveReversal command either to get a new approval or to void the payment. ApproveReversal is valid for payments in the Approved state. If the ApproveReversal is successful, and the amount specified is "0," then the payment moves to Void state. If the amount specified is not "0," then the payment stays in Approved state and the approved amount is modified.

Keywords Required Value
AMOUNT Yes Must be positive 32-bit integer in ASCII characters.
DTDPATH No Path to the locally stored DTD. The value of this parameter is used in the XML document to specify the location of the external DTD. If this parameter is not specified, the complete DTD is returned as an internal DTD. The length of the DTDPath must be from 1 to 254 bytes.
ETAPIVERSION Yes 3 (Indicates WebSphere Commerce Payments-or predecessor product-API version: Version 2.1.x, 2.2.x, 3.1.x, 5.5.x, and 5.6.x)
MERCHANTNUMBER Yes Integer in ASCII characters. Must be from 1 to 999999999.
OPERATION Yes ASCII character string ApproveReversal.
ORDERNUMBER Yes Integer in ASCII characters. Must be from 1 to 999999999.
PAYMENTNUMBER Yes Integer in ASCII characters. Must be from 1 to 999999999.