Dunmore

Slack Integration

Get rich payment notifications in Slack with Block Kit formatting.

Connect Dunmore to Slack to receive payment notifications in your team channels using Block Kit messages.

Setup

  1. In your Slack workspace, go to Apps and create an Incoming Webhook
  2. Choose the channel for notifications and copy the webhook URL
  3. Add a Slack connector in the Dunmore console or via the API

Supported Events

Dunmore EventSlack Message
payment.settledGreen checkmark with amount, payer/seller addresses (linked to Basescan), endpoint, TX hash, and latency
payment.failedRed X with amount, failure stage, error code, endpoint, and error message
customer.first_paymentParty emoji with new customer wallet address and first payment amount
customer.milestoneChart emoji with wallet address, milestone name, total spend, and payment count

Messages use Slack Block Kit with section blocks, dividers, and context footers stamped with the event timestamp.

Configuration

{
  "type": "slack",
  "config": {
    "webhookUrl": "https://hooks.slack.com/services/T.../B.../..."
  },
  "eventTypes": ["payment.settled", "payment.failed", "customer.first_payment"]
}
FieldRequiredDescription
webhookUrlYesSlack Incoming Webhook URL

API Example

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", "customer.first_payment"]
  }'