Refund a Payment
Refunding a payment returns the entire captured amount or part of the captured amount to
the customer's account. Klarna supports multiple refund requests when the total amount
of all refunds is less than the captured amount.'
Cybersource
recommends using the optional fields for a refund to ensure
the request is successful. For more information, see Optional Fields for a Refund.Endpoints
Set the
apRefundService_run
field to
true
, and send the request to one of these
endpoints:Production:
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
Test:
https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor
Response Statuses
The refund service responds with one of these statuses as the
apRefundReply_status
field
value:- FAILED: The refund request is not successful. Send a new refund request. A failed request can be due to either Klarna rejecting the transaction or a technical error.
- PENDING: The refund request is accepted but is not refunded. Request the check status service to retrieve status updates. For more information, see Check a Request Status.
- REFUNDED: The captured payment is successfully refunded.