Dunmore

PagerDuty Integration

Create PagerDuty alerts on payment failures for incident management.

Connect Dunmore to PagerDuty to create alerts when payments fail and auto-resolve when they settle.

Setup

  1. In PagerDuty, create a new Events API v2 integration on your service
  2. Copy the Routing Key (Integration Key)
  3. Add a PagerDuty connector in the Dunmore console

Alert Behavior

Dunmore EventPagerDuty ActionSeverity
payment.failedTrigger alertError
payment.settledResolve alertInfo

Alerts include payment details (amount, endpoint, error code) in custom_details. The dedup_key is the Dunmore event ID.

Configuration

{
  "type": "pagerduty",
  "config": {
    "routingKey": "your-pagerduty-routing-key"
  },
  "eventTypes": ["payment.failed", "payment.settled"]
}

API Example

curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "pagerduty",
    "config": {
      "routingKey": "YOUR_PAGERDUTY_ROUTING_KEY"
    },
    "eventTypes": ["payment.failed", "payment.settled"]
  }'