Skip to Content
Docs

Fraud warnings

Receive card-network fraud warnings via webhook and refund flagged charges before they become formal disputes.

A fraud warning is a non-financial notification from a card network (Visa TC40 or Mastercard SAFE) reporting that a cardholder or issuing bank flagged a transaction as unauthorized. No funds move when a warning arrives. Pay.com delivers a fraud_warning.created webhook and updates the Fraud Warnings page in the Pay.com dashboard. You can also query warnings through the Fraud Warnings API.

Refunding a flagged charge while actionable is true typically prevents a formal dispute and avoids chargeback fees. If the issuer still files a dispute after you refund, the refund serves as your defense so you aren't debited twice.

How to respond

When a fraud warning appears in Fraud Warnings or in the List fraud warnings endpoint, take these steps:

  1. Review the order. Check order history, fulfillment status, and risk signals. Cancel unshipped orders immediately.
  2. Issue a proactive refund. If actionable is true and the charge looks unauthorized, refund the full amount with POST /v1/refunds before a formal dispute is filed. See Refunds.
  3. Update blocklists (optional). If you identify a pattern, add the card BIN to a risk list referenced by a Block payment rule. See Rule conditions for the fields each rule type can match.

Webhook integration

Listen for fraud_warning.created to automate your response workflow:

{
  "id": "evt_457771954326208512",
  "resource": "event",
  "type": "fraud_warning.created",
  "created": "2024-06-17T05:02:18.906Z",
  "data": {
    "id": "frdwrn_685125114794084352",
    "resource": "fraud_warning",
    "actionable": true,
    "amount": 93150,
    "amount_human_readable": "931.50",
    "charge": "chrg_685125114794084352",
    "created": "2024-06-17T00:00:00.000Z",
    "currency": "usd",
    "customer": "cust_685125114794084352",
    "customer_reference_id": "12345678",
    "fraud_type": "unauthorized_use_of_card",
    "reference": "123456",
    "test_mode": false
  }
}

The event's data is the fraud warning, with these fields:

FieldDescription
idUnique identifier for the fraud warning object.
actionabletrue if the charge can still be refunded. false if a dispute was already opened or the charge can't be refunded.
amountTransaction amount in minor units.
amount_human_readableTransaction amount formatted in the currency's major unit (for example, "931.50").
chargeID of the flagged charge. Use it to look up the charge and issue a refund.
currencyLowercase ISO 4217 currency code.
createdTimestamp when the warning was raised (falls back to the charge time).
customerPay.com customer ID, or null.
customer_reference_idYour internal customer identifier, or null.
fraud_typeCard network fraud category: made_with_lost_card, made_with_stolen_card, card_never_received, fraudulent_card_application, made_with_counterfeit_card, unauthorized_use_of_card, account_takeover, modification_of_payment_order, manipulation_of_cardholder, or misc.
payment_methodID of the payment method used for the charge, or null.
referenceReference for reconciling the warning with your records, or null.
test_modetrue for sandbox events.

Check actionable first when handling the event. If true, retrieve the charge and decide whether to refund. If false, log the event for reporting only. Always verify webhook signatures before acting on an event. For how to set up an endpoint, see Webhooks.

To test fraud_warning.created handling in the sandbox, use the simulate endpoint in Test risk events.

Next steps

Related risk and dispute guides:

  • Collaborations: Resolve pre-dispute alerts from Ethoca, Verifi CDRN, and Mastercard Collaboration.
  • Risk rules: Block suspicious transactions with payment rules, or flag them for review on results such as ANI.
  • Disputes: Manage formal chargebacks if a warning escalates.
  • Fraud warnings API: Full endpoint reference.
Was this page helpful?