Authorization-Reversals

Use this service to reverse an unnecessary or undesired authorization.

Endpoints

Set the
apAuthReversalService_run
field to
true
, and send the request to one of these endpoints:
Production:
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
Test:
https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor

Response Status

The authorization reversal service responds with one of these statuses as the
apAuthReversalReply_status
field value:
  • AUTH_REVERSED
    : The authorization is successfully reversed.
  • FAILED
    : The authorization reversal failed.
The authorization reversal service also responds with a reason code as the
apAuthReversalreply_reasonCode
field value.

Required Fields for Reversing an Authorization

Include these required fields in the authorization-reversal request.

Example: Reversing an Authorization with XML

Light Dark
Request
12345678
<="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantID>test_merchant</merchantID> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <apPaymentType>afp</apPaymentType> <apAuthReversalService run="true"> <authRequestID>6246274241256683803069</authRequestID> </apAuthReversalService> </>
Response to a Successful Request
123456789101112131415
<:c="urn:schemas-cybersource-com:transaction-data-1.213"> <merchantReferenceCode>refnum-1234</merchantReferenceCode> <requestID>6246062044236748603086</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <apAuthReversalReply> <reasonCode>100</reasonCode> <status>AUTH_REVERSED</status> <processorResponse>00007</processorResponse> <amount>10.00</amount> <paymentStatus>auth_reversed</paymentStatus> <responseCode>00007</responseCode> <reconciliationID>XFZONQ96WTF2</reconciliationID> </apAuthReversalReply> </>