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 toGROUPUP.
- paymentInformation.paymentType.name
- processingInformation.actionList
- Set toAP_REFUND.
Example: Refunding a Payment
Request
{ "clientReferenceInformation": { "code": "refnum-1234" }, "paymentInformation": { "paymentType": { "method": { "name": "GROUPUP" }, "name": "Voucher" } }, "processingInformation": { "actionList": "AP_REFUND" }, "orderInformation": { "amountDetails": { "totalAmount": "5.00", "currency": "EUR" } } }
Response to a Successful Request
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/refunds/7546762147596482204807" }, "status": { "method": "POST", "href": "/pts/v2/refresh-payment-status/7546762147596482204807" } }, "clientReferenceInformation": { "code": "refnum-1234", "returnReconciliationId": "R015AE1TJE8N" }, "id": "7546762147596482204807", "orderInformation": { "amountDetails": { "currency": "EUR" } }, "processorInformation": { "responseDetails": "00006", "transactionId": "960636547358", "responseCode": "00006" }, "reconciliationId": "XFZ55E33PZ6F", "refundAmountDetails": { "refundAmount": "5.00" }, "status": "REFUNDED", "submitTimeUtc": "2025-08-08T18:03:35Z" }
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 Transaction Status.