FILTER BY TAG

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}
/refunds
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/
{id}
/refunds
The
{id}
is the request ID contained in the original transaction request.

Example: Refunding a Payment

Request
{     "clientReferenceInformation": {         "code": "refnum-1234"     },     "paymentInformation": {         "paymentType": {             "method": {                 "name": "MERCADOPAGO"             },             "name": "eWallet"         }     },     "processingInformation": {         "actionList": "AP_REFUND"     },     "orderInformation": {         "amountDetails": {             "totalAmount": "600.00",             "currency": "MXN"         }     } }
Response to a Successful Request
{     "_links": {         "self": {             "method": "GET",             "href": "/pts/v2/refunds/7684136117536580704805"         },         "status": {             "method": "POST",             "href": "/pts/v2/refresh-payment-status/7684136117536580704805"         }     },     "clientReferenceInformation": {         "code": "refnum-1234",         "returnReconciliationId": "NISTFJ987YPM"     },     "id": "7684136117536580704805",     "orderInformation": {         "amountDetails": {             "currency": "MXN"         }     },     "processorInformation": {         "responseDetails": "00006",         "transactionId": "560121718645",         "responseCode": "00006"     },     "reconciliationId": "XFZ3ZKAU0MC3",     "refundAmountDetails": {         "refundAmount": "600.00"     },     "status": "REFUNDED",     "submitTimeUtc": "2026-01-14T18:00:13Z" }

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.