EPS Refunds

This section describes how to issue a refund.

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: Requesting an EPS Refund Using the REST API

Request
{ "orderInformation": { "amountDetails": { "totalAmount": "1", "currency": "EUR" } }, "clientReferenceInformation": { "code": "sale1077", "originalTransactionId": "832620566" }, "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "eps" } } } }
Response to a Successful Request
{ "clientReferenceInformation": { "transactionid": "sale1077" }, "processorInformation": { "transactionId": "128011817" }, "message": "Successful", "status": "REFUNDED", "id": "6523329019126746031896", "submitTimeUtc": "2022-06-06T10:47:04Z" }