Anomaly detection
Monitor approval rates, payment volumes, and rule blocks continuously, and receive alerts in Slack, WhatsApp, or PagerDuty.
Anomaly detection monitors your payment metrics continuously and alerts your team when a metric shifts sharply from its normal baseline, such as an approval rate drop on one settlement account or a sudden halt in traffic. Each alert reports what changed, where it occurred, how much volume is at risk, and which rules are involved. In Slack, Pay.com posts status updates in the alert's thread until the metric recovers.
Requirements
Before you rely on anomaly detection, make sure you have:
- Anomaly detection enabled on your account. Your Pay.com account team enables it and sets it up for you.
- At least one alert channel (a Slack Connect channel shared with Pay.com, WhatsApp, or PagerDuty). See Choose where alerts go.
What Pay.com monitors
Pay.com tracks these metrics across your entire account and broken down by settlement account, payment method, card brand, issuing country, issuer, and card funding type, separating merchant-initiated and customer-initiated payments:
- Approval rate
- Payment attempts
- Sales and authorizations, by count and by volume
- Payouts
- Checkout sessions
- 3D Secure success rate
- Retries, by attempts and by approval rate
- Payments blocked by your rules and by Pay.com's rules
Pay.com alerts only on degradations, such as approval rates falling or rule blocks rising. Retries are excluded from first-attempt metrics so retry spikes can't mask a drop in initial approvals. Volumes are compared in US dollars.
How Pay.com detects anomalies
Pay.com evaluates your recent payment traffic continuously against multiple baselines:
- Recent baseline: compares the latest minutes against the rest of the current hour.
- Weekly seasonality: compares against the same weekday and hour over recent weeks so normal quiet hours don't trigger false alerts.
- Traffic-scaled window: adapts the evaluation window to each segment's volume so low-traffic segments aren't judged on a handful of transactions.
A change triggers an alert only when it persists across consecutive intervals and affects enough traffic to measure reliably. Pay.com suppresses alerts when extra declines are predominantly customer-driven, such as insufficient funds, expired cards, or invalid card numbers.
Checks
Two checks send alerts to your team:
| Check | What it detects |
|---|---|
| Performance anomalies | A monitored metric on your account or a specific segment degrades sharply from its normal baseline and puts a material volume of payments at risk. |
| Traffic stopped | Your normal traffic for this time of the week is at least 30 payment attempts in 30 minutes, and 20% or fewer of them arrive. Pay.com holds this alert while traffic is quiet across all of Pay.com. |
Alerts
Pay.com sends you only critical anomalies. A performance anomaly is critical only when it puts at least $1,000 of payments at risk over five minutes.
Sensitivity
Your Pay.com account team configures alert sensitivity for your account. Higher sensitivity triggers alerts on smaller affected traffic shares and smaller deviations from baseline.
| Sensitivity | Alerts when at least this share of your payments is affected |
|---|---|
| High | 0.5% |
| Normal (default) | 2% |
| Low | 5% |
What an alert shows
Each alert has these parts:
| Part | What it shows |
|---|---|
| Title | The metric and affected area, such as the approval rate on one settlement account. |
| Account, Scope, and Affected | Your account, the part of it that changed (or your whole account), and the metric that changed. |
| Volume at risk | The payment volume at risk over five minutes, shown when the problem is on your account only. |
| What we see | A short description of what changed in your last 15 minutes, or a note that a wider incident is affecting your traffic. |
| Figures | Your rate over the last 15 minutes, the normal rate for this time of the week, how many more payments than usual are affected, the retries, and the approved volume. |
| Rules involved | Each of your rules and Pay.com's rules involved, with how many payments it blocked, its description and ID, and when it last changed. |
ref | The alert's reference, at the bottom of the alert. Include it when you contact Pay.com about the alert. |
Alert pacing and threads
Pay.com sends you at most one alert every 15 minutes. If the same problem continues, Pay.com waits 1 hour, then 4 hours, then 8 hours before it alerts you again, unless the problem gets markedly worse.
In Slack, Pay.com investigates each alert and posts status updates (Still happening, Recovering, or Recovered) in its thread as conditions change. Reply in the thread to ask follow-up questions about the alert. Pay.com responds using your account's data only.
Choose where alerts go
Your Pay.com account team connects your chosen alert channels. Contact them to add or change a channel.
| Channel | How it works |
|---|---|
| Slack Connect | Pay.com shares a Slack channel with your workspace and adds the pay.com Alerts app. Everyone in the channel sees alerts and can reply in their threads. |
| Alerts are delivered to the WhatsApp number or group you specify. | |
| PagerDuty | Alerts route to your PagerDuty service through an integration so they page whoever is on call. |
Thread updates and interactive replies are available in Slack.
Automatic protections
Alerts alone don't change how Pay.com routes your payments. Your Pay.com account team can enable two optional automatic protections for your account:
- Disable a failing settlement account: Pay.com disables processing on a settlement account when a critical alert on it keeps firing, with at least $5,000 at risk over five minutes and the alert sent at least three times in the past hour. It does this at most once every six hours for the same account. While the account is disabled, routing rules treat it as unavailable and route payments to other targets. See Routing rules.
- BIN guard: For a group of one issuer's BINs that your account team sets up, Pay.com checks the group's approval rate every minute. It warns you when the rate falls below 80%. When the rate falls below 60%, or a burst of retries hits those cards, it blocks payments from them with a risk rule. Pay.com lifts the block in stages once cards from the group approve normally elsewhere on Pay.com, and posts each block and release in your shared Slack channel.
To move Smart Router traffic off a failing settlement account automatically, see the circuit breaker.
Next steps
- Circuit breaker: Remove a settlement account from Smart Router traffic when its approval rate drops sharply.
- Routing rules: Route around a settlement account that's failing.
- Fallbacks and retries: Retry declined payments on another settlement account.
- How routing works: How Pay.com picks the settlement account for each payment.