FILTER BY TAG

Refund a Payment

You can refund a completed payment for the full amount or a partial amount by sending a refund request. Bizum supports multiple refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale response. The request ID is located in the
requestID
response field.

Endpoints

Set the
apRefundService_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 Statuses

Cybersource
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
  • FAILED
    : The refund request failed.
  • REFUNDED
    : The refund request is accepted but is not completed. Request the check status service to retrieve status updates. For more information, see Check a Transaction Status.
The refund service also responds with a reason code as the
apRefundReply_reasonCode
field value.
For more information about reason codes, see Reason Codes and Response Codes.
When you send a check status request to retrieve an updated refund status, these are the possible responses:
  • FAILED
    : The refund request failed.
  • REFUNDED
    : The settled payment is successfully refunded.

Required Fields for Refunding a Payment

Example: Refunding a Payment

Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.211">             <merchantID>nrphotography</merchantID>             <merchantReferenceCode>Bizum-Refund</merchantReferenceCode>             <purchaseTotals>                 <currency>EUR</currency>                 <grandTotalAmount>10.00</grandTotalAmount>             </purchaseTotals>             <apPaymentType>BIZ</apPaymentType>             <apRefundService run="true">                 <refundRequestID>7652220570346107104604</refundRequestID>             </apRefundService> </requestMessage>
Response to a Successful Request
<c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.211">             <c:merchantReferenceCode>Bizum-Refund</c:merchantReferenceCode>             <c:requestID>7478637798796676103609</c:requestID>             <c:decision>ACCEPT</c:decision>             <c:reasonCode>100</c:reasonCode>             <c:requestToken>AxjnrwSTlWryznv9JP25ANgZYiy6kGDXhyoLKQnkH8hOI/pCvoUFYZNJMvRjDLC/Scq1da8KzRZD24AAxzUC</c:requestToken>             <c:purchaseTotals>                 <c:currency>EUR</c:currency>             </c:purchaseTotals>             <c:apRefundReply>                 <c:reasonCode>100</c:reasonCode>                 <c:transactionID>973340962485</c:transactionID>                 <c:status>REFUNDED</c:status>                 <c:processorResponse>00006</c:processorResponse>                 <c:amount>10.00</c:amount>                 <c:dateTime>2025-12-08T21:43:01Z</c:dateTime>                 <c:reconciliationID>XEKTAAWCJA2H</c:reconciliationID>                 <c:returnRef>KL9RNANN5WZ7</c:returnRef>                 <c:paymentStatus>refunded</c:paymentStatus>                 <c:responseCode>00006</c:responseCode>             </c:apRefundReply> </c:replyMessage>