Microsoft Teams Integration
Send payment notifications to Microsoft Teams channels via Adaptive Cards.
Connect Dunmore to Microsoft Teams to receive rich payment notifications using Adaptive Cards.
Setup
- In Teams, go to the channel where you want notifications
- Click the ... menu > Connectors > Incoming Webhook
- Name it (e.g., "Dunmore") and copy the webhook URL
- Add a Teams connector in the Dunmore console
Adaptive Card Format
Notifications are sent as Adaptive Card v1.4 messages with structured fact sets:
- Payment Settled: Amount, currency, network, payer wallet, endpoint
- Payment Failed: Amount, failure stage, error code, error message
- Customer Events: New customer alerts, milestone notifications
Configuration
{
"type": "teams",
"config": {
"webhookUrl": "https://outlook.office.com/webhook/..."
},
"eventTypes": ["payment.settled", "payment.failed"]
}
API Example
curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"type": "teams",
"config": {
"webhookUrl": "YOUR_TEAMS_WEBHOOK_URL"
},
"eventTypes": ["payment.settled", "payment.failed"]
}'