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. Blik 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
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.

Response Statuses

Cybersource
responds to your refund request with one of these statuses as the
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.
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
{     "clientReferenceInformation": {         "code": "refnum-1234"     },     "paymentInformation": {         "paymentType": {             "method": {                 "name": "BLIK"             },             "name": "bankTransfer"         }     },     "processingInformation": {         "actionList": "AP_REFUND"     },     "orderInformation": {         "amountDetails": {             "totalAmount": "600.00",             "currency": "PLN"         }     } }
Response to a Successful Request
{     "_links": {         "self": {             "method": "GET",             "href": "/pts/v2/refunds/7652140293476589504806"         },         "status": {             "method": "POST",             "href": "/pts/v2/refresh-payment-status/7652140293476589504806"         }     },     "clientReferenceInformation": {         "code": "refnum-1234",         "returnReconciliationId": "AE7GHI9V2XIS"     },     "id": "7652140293476589504806",     "orderInformation": {         "amountDetails": {             "currency": "PLN"         }     },     "processorInformation": {         "responseDetails": "00006",         "transactionId": "524844527089",         "responseCode": "00006"     },     "reconciliationId": "XFZ3ZIRG3C8C",     "refundAmountDetails": {         "refundAmount": "600.00"     },     "status": "REFUNDED",     "submitTimeUtc": "2025-12-08T17:13:51Z" }