Refunds
Refunds
ProsaREST API
This section provides the information you need in order to process a
refund
, which is linked to a capture or
sale.
You must request a
refund
within 180 days of the authorization. When your account is enabled for credit authorizations, also known as
purchase return authorizations,
Cybersource
authenticates the card and
customer during a refund or
credit request.
Every
credit request is automatically authorized.
Credit authorization results are returned in these
response fields:
- processorInformation.approvalCode
- processorInformation.networkTransactionId
- processorInformation.responseCode
When you request a void for the credit and the credit is voided. If your account is enabled
for credit authorizations, the credit authorization is also reversed.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/refundsTest:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}
/refundsThe is the transaction ID
returned in the capture or sale response.
{id}