Refund to answer an alert

Refund a transaction matched to a pre-chargeback alert, so the cardholder gets the money back before a chargeback. Call it from your server with the private API key of the merchant account. This is Refund an order with refund_reason set to pre_chargeback_alert.

No separate answer needed

With refund_reason pre_chargeback_alert, the outcome is sent to the network on its own. refund_reason_text is sent as the outcome comment, 255 characters at most.

When to use it

Use it for a matched alert that is not refunded yet. For an alert without a transaction, declare the outcome; for a not matched alert, match it and refund in the same call.

Result

  • A full refund sends full_refund. A partial refund sends partial_refund; nothing else is sent afterwards, and the alert stays open until refunded in full or closed with a declaration.
  • Result codes are the ones of a refund, for example 621080 pending refund request. See Return codes.

See Respond to an alert.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to 68e13b6605a7371ed36b2b9f

Identifier of the order of the transaction matched to the alert.

Body Params
float
Defaults to 149.99

Amount to refund. A full refund sends full_refund, a partial refund sends partial_refund. Must not exceed the captured amount.

string

Identifier of the capture to refund, returned by Capture an order. Required if the order was partially captured.

string
enum
required
Defaults to pre_chargeback_alert

Always pre_chargeback_alert for this use. It links the refund to the alert, and the outcome is sent to the network on its own.

Allowed:
string
Defaults to Refunded after contacting the customer

With refund_reason pre_chargeback_alert, on a transaction linked to an alert: sent to the network as the outcome comment, 255 characters at most.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json