Dunmore

Datadog Integration

Send payment events to Datadog for monitoring and dashboards.

Connect Dunmore to Datadog to track payment events as custom events for monitoring.

Setup

  1. Get your Datadog API Key from Organization Settings > API Keys
  2. Add a Datadog connector in the Dunmore console
  3. Events will appear in the Datadog Events Explorer

Supported Events

Dunmore EventDatadog Event
payment.settled"Payment Settled" with amount, endpoint tags
payment.failed"Payment Failed" with error details
customer.first_payment"New Customer" event
customer.milestone"Customer Milestone" event

Events include tags for project, endpoint, and dunmore for easy filtering.

Regional Sites

For EU or other regional Datadog instances, specify the site parameter:

  • US: datadoghq.com (default)
  • EU: datadoghq.eu
  • US3: us3.datadoghq.com
  • US5: us5.datadoghq.com

Configuration

{
  "type": "datadog",
  "config": {
    "apiKey": "your-datadog-api-key",
    "site": "datadoghq.com"
  },
  "eventTypes": ["payment.settled", "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": "datadog",
    "config": {
      "apiKey": "YOUR_DATADOG_API_KEY"
    },
    "eventTypes": ["payment.settled", "payment.failed", "customer.first_payment"]
  }'