Amplitude Integration
Send payment events to Amplitude for behavioral analytics.
Connect Dunmore to Amplitude to track payment behavior and customer journeys.
Setup
- Get your Amplitude API Key from Settings > Projects
- Add an Amplitude connector in the Dunmore console
- Events will stream to Amplitude via the HTTP API v2
Event Mapping
| Dunmore Event | Amplitude Event Type |
|---|---|
payment.verified | Payment Verified |
payment.settled | Payment Settled |
payment.failed | Payment Failed |
customer.first_payment | Customer First Payment |
customer.milestone | Customer 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"]
}'