Refund a Direct Debit
You can refund a direct debit only for the entire amount of the payment.
The direct debit must have
Settled
or Settled_accepted
status before you can send a refund request.Refund Period
In the
Bacs
scheme, there is no time limit for refunds. A
customer can request a refund at any time after the original settlement date.Cybersource
keeps active customer data for up to 6 months past a
transaction settlement date. If a customer requests a refund more than 6 months past
the settlement date, Cybersource
must manually match the customer
data to the transaction and might not be able to make the match.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
This table describes the possible statuses you can receive in a refund response
message. The status is found in the
apRefundReply_status
field.Status | Description | Response Time |
---|---|---|
Pending | The refund request was
accepted by the Cybersource partner and is sent to
the scheme. Send a check status request for status updates. See
Check a Direct Debit Status. | Immediate in API
response. |
Failed | The refund request was not
accepted. | Immediate in API
response. |
Refund_initiated | The refund request was
sent to the scheme in a batch. | D |
Refunded | The customer's account
received the refund. | D |
Refund_rejected | The scheme rejected the
refund request. A refund can be rejected for several reasons, such
as when a customer closes the account that was used for paying the
merchant. | D |
D is the date on which the direct debit is executed. D + is the count of business days after the execution date. |
The refund service also responds with a reason code in the
apRefundReply_reasonCode
field. For more information about reason
codes, see the Reason Codes for Bacs Direct Debits for the Simple Order API.