Refund a Payment

Request a refund to return the funds from a completed payment. Refunding a payment requires the transaction ID from a capture or sale response.

Supported Refund Services

These refund services are available with PayTo Pay by Bank:
  • Full refunds for the same amount of the original sale
  • Partial refunds for an amount less than the original sale

Endpoints

Production:
POST
https://api.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments

Required Fields for Refunding a Payment

Example: Refunding a Payment

Request
{ "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "payToPayByBank" } } }, "processingInformation": { "actionList": ["AP_REFUND"] }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "AUD" } } }
Response to a Successful Request
{ "processorInformation": { "responseCode": "00001", "transactionId": "9af6bd29-8ea9-4f30-b6d4-58313566bcb0" }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "AUD" } }, "reconciliationId": "KOZX0DMQKX0D", "message": "Request was processed successfully.", "status": "PENDING", "id": "7544094135706957804805", "submitTimeUtc": "2025-08-05T17:52:08Z" }