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
- In your Slack workspace, go to Apps and create an Incoming Webhook
- Choose the channel for notifications and copy the webhook URL
- Add a Slack connector in the Dunmore console or via the API
Supported Events
| Dunmore Event | Slack Message |
|---|---|
payment.settled | Green checkmark with amount, payer/seller addresses (linked to Basescan), endpoint, TX hash, and latency |
payment.failed | Red X with amount, failure stage, error code, endpoint, and error message |
customer.first_payment | Party emoji with new customer wallet address and first payment amount |
customer.milestone | Chart 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"]
}
| Field | Required | Description |
|---|---|---|
webhookUrl | Yes | Slack 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"]
}'