Dunmore

Amplitude Integration

Send payment events to Amplitude for behavioral analytics.

Connect Dunmore to Amplitude to track payment behavior and customer journeys.

Setup

  1. Get your Amplitude API Key from Settings > Projects
  2. Add an Amplitude connector in the Dunmore console
  3. Events will stream to Amplitude via the HTTP API v2

Event Mapping

Dunmore EventAmplitude Event Type
payment.verifiedPayment Verified
payment.settledPayment Settled
payment.failedPayment Failed
customer.first_paymentCustomer First Payment
customer.milestoneCustomer Milestone

The payer wallet address is used as the user_id for user-level analytics.

Configuration

{
  "type": "amplitude",
  "config": {
    "apiKey": "your-amplitude-api-key"
  },
  "eventTypes": ["payment.settled", "payment.failed", "customer.first_payment"]
}

API Example

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