Dunmore

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
FieldTypeRequiredDescription
typestringYesConnector type (see below)
configobjectYesConnector-specific configuration
eventTypesstring[]YesEvents to subscribe to (* for all)

Connector Types

TypeCategoryConfig Fields
slackCommunicationwebhookUrl
discordCommunicationwebhookUrl
emailCommunicationapiKey, from, to (array)
telegramCommunicationbotToken, chatId
teamsCommunicationwebhookUrl
segmentAnalyticswriteKey
mixpanelAnalyticsprojectToken
amplitudeAnalyticsapiKey
ga4AnalyticsmeasurementId, apiSecret
zapierAutomationwebhookUrl
n8nAutomationwebhookUrl
makeAutomationwebhookUrl
pagerdutyMonitoringroutingKey
datadogMonitoringapiKey, site (optional)
opsgenieMonitoringapiKey
bigqueryDataprojectId, datasetId, tableId, accessToken
hubspotCRMaccessToken
salesforceCRMinstanceUrl, accessToken
quickbooksAccountingaccessToken, realmId
xeroAccountingaccessToken, 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
FieldTypeRequiredDescription
configobjectNoUpdated configuration
eventTypesstring[]NoUpdated event subscriptions
isActivebooleanNoEnable/disable the connector

Delete Connector

DELETE /api/projects/:projectId/connectors/:connectorId

Event Types

All connectors can subscribe to any of these events:

EventDescription
payment.verifiedPayment signature verified
payment.settledPayment settled on-chain
payment.failedPayment failed at any stage
customer.first_paymentNew customer's first payment
customer.milestoneCustomer reached spending milestone
endpoint.createdNew endpoint configured
endpoint.pricing_changedEndpoint pricing updated
revenue.daily_summaryDaily revenue summary
*Subscribe to all events

Limits

TierMax Connectors
Starter0
Pro5
Business15
EnterpriseUnlimited