Dunmore

OpsGenie Integration

Create OpsGenie alerts on payment failures for on-call management.

Connect Dunmore to OpsGenie to create P2 alerts when payments fail.

Setup

  1. In OpsGenie, go to Settings > Integration List and add an API integration
  2. Copy the API Key
  3. Add an OpsGenie connector in the Dunmore console

Alert Behavior

Only payment.failed events trigger OpsGenie alerts. Other event types are ignored.

Alerts include:

  • Priority: P2
  • Tags: dunmore, payment-failed
  • Details: Full payment failure data (amount, stage, error code)

Configuration

{
  "type": "opsgenie",
  "config": {
    "apiKey": "your-opsgenie-api-key"
  },
  "eventTypes": ["payment.failed"]
}

API Example

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