Connectors
Configure integrations to route payment events to third-party services.
Connectors deliver payment events to third-party services. Dunmore supports 20 connector types across communication, analytics, automation, monitoring, data, CRM, and accounting categories.
List Connectors
GET /api/projects/:projectId/connectors
Create Connector
POST /api/projects/:projectId/connectors
| Field | Type | Required | Description |
|---|
type | string | Yes | Connector type (see below) |
config | object | Yes | Connector-specific configuration |
eventTypes | string[] | Yes | Events to subscribe to (* for all) |
Connector Types
| Type | Category | Config Fields |
|---|
slack | Communication | webhookUrl |
discord | Communication | webhookUrl |
email | Communication | apiKey, from, to (array) |
telegram | Communication | botToken, chatId |
teams | Communication | webhookUrl |
segment | Analytics | writeKey |
mixpanel | Analytics | projectToken |
amplitude | Analytics | apiKey |
ga4 | Analytics | measurementId, apiSecret |
zapier | Automation | webhookUrl |
n8n | Automation | webhookUrl |
make | Automation | webhookUrl |
pagerduty | Monitoring | routingKey |
datadog | Monitoring | apiKey, site (optional) |
opsgenie | Monitoring | apiKey |
bigquery | Data | projectId, datasetId, tableId, accessToken |
hubspot | CRM | accessToken |
salesforce | CRM | instanceUrl, accessToken |
quickbooks | Accounting | accessToken, realmId |
xero | Accounting | accessToken, tenantId |
Example: Create Slack Connector
curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"type": "slack",
"config": {
"webhookUrl": "https://hooks.slack.com/services/T.../B.../..."
},
"eventTypes": ["payment.settled", "payment.failed"]
}'
Example: Create BigQuery Connector
curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"type": "bigquery",
"config": {
"projectId": "my-gcp-project",
"datasetId": "dunmore_events",
"tableId": "events",
"accessToken": "ya29...."
},
"eventTypes": ["*"]
}'
Update Connector
PATCH /api/projects/:projectId/connectors/:connectorId
| Field | Type | Required | Description |
|---|
config | object | No | Updated configuration |
eventTypes | string[] | No | Updated event subscriptions |
isActive | boolean | No | Enable/disable the connector |
Delete Connector
DELETE /api/projects/:projectId/connectors/:connectorId
Event Types
All connectors can subscribe to any of these events:
| Event | Description |
|---|
payment.verified | Payment signature verified |
payment.settled | Payment settled on-chain |
payment.failed | Payment failed at any stage |
customer.first_payment | New customer's first payment |
customer.milestone | Customer reached spending milestone |
endpoint.created | New endpoint configured |
endpoint.pricing_changed | Endpoint pricing updated |
revenue.daily_summary | Daily revenue summary |
* | Subscribe to all events |
Limits
| Tier | Max Connectors |
|---|
| Starter | 0 |
| Pro | 5 |
| Business | 15 |
| Enterprise | Unlimited |