On This Page
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
id
response field.Endpoints
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/refundsTest:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}
/refundsThe is the request ID
contained in the original transaction request.
{id}
Required Fields for Refunding a Payment
- clientReferenceInformation.code
- orderInformation.amountDetails.currency
- Set toEUR.
- orderInformation.amountDetails.totalAmount
- paymentInformation.paymentType.method.name
- Set toMULTIBANCO.
- paymentInformation.paymentType.name
- Set tobankTransfer.
- processingInformation.actionList
- Set toAP_REFUND.
Example: Refunding a Payment
Request
{ "clientReferenceInformation": { "code": "refnum-1234" }, "paymentInformation": { "paymentType": { "method": { "name": "MULTIBANCO" }, "name": "bankTransfer" } }, "processingInformation": { "actionList": "AP_REFUND" }, "orderInformation": { "amountDetails": { "totalAmount": "5.00", "currency": "EUR" } } }
Response to a Successful Request
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/refunds/7551890715256012504806" }, "status": { "method": "POST", "href": "/pts/v2/refresh-payment-status/7551890715256012504806" } }, "clientReferenceInformation": { "code": "refnum-1234" }, "id": "7551890715256012504806", "orderInformation": { "amountDetails": { "currency": "EUR" } }, "processorInformation": { "responseDetails": "00006", "transactionId": "555912063193", "responseCode": "00006" }, "reconciliationId": "XFZ55E5TB5S3", "refundAmountDetails": { "refundAmount": "5.00" }, "status": "REFUNDED", "submitTimeUtc": "2025-08-14T16:14:25Z" }
Response Statuses for Refunding a Payment
Cybersource
responds to your refund request with one of these
statuses in the status
field:- FAILED: The refund request failed.
- REFUNDED: The refund request is accepted but is not completed. Send a check status request to verify that the status is refunded. For more information, see Check a Status.