Match an alert

Link a not_matched alert to one of your transactions, and refund it or not. Call it from your server with the private API key of the merchant account. {id} is the id of the pre_chargeback_alert webhook.

A match is final

A match cannot be undone. Check the transaction before you send the request.

Result

  • With a refund, the outcome follows the amount refunded (full_refund or partial_refund). refund.amount in the response is the amount really refunded.
  • A transaction already refunded closes the alert with previously_refunded_or_cancelled, and nothing is refunded.
  • If the refund fails, the match stays and refund.refunded is false.

See Respond to an alert for the cases where matching applies.

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

Identifier of the alert on the platform: the id of the pre_chargeback_alert webhook. This is not alert_id, the identifier at the network.

Body Params
string
required
Defaults to 6731f0c2a1b2c3d4e5f60999

A captured transaction of the same merchant account.

boolean
required
Defaults to true

true to refund the transaction now, false not to refund it.

number

With refunded: true: amount to refund. By default, everything still refundable. Refused with refunded: false.

string
Defaults to Refunded after contacting the customer

Comment sent with the outcome. With a refund, 255 characters are kept.

string
enum

Required with refunded: false: the not-refunded value to send. See Outcome values.

Response

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