Webhooks provide real-time notifications when payment events occur, helping automate workflows and keep systems synchronized. This skill is designed for developers integrating Dodo Payments services.
$ npx skills add https://github.com/dodopayments/skills --skill webhook-integrationThe Dodo Payments Webhook Integration skill enables developers to set up and handle webhooks that trigger on payment events in real time. Webhooks automatically notify your application when payments occur, subscriptions change, or other billing events happen, eliminating the need for constant polling. This skill helps keep your systems synchronized and automate downstream workflows without manual intervention. It's part of the official Dodo Payments skill suite and works with AI agents like Claude Code and Cursor to streamline payment integration.
Install the skill using the provided command and configure it in your dashboard.
Automate workflows upon payment events
Update databases in real-time
Send notifications for payment confirmations
Synchronize systems with real-time data
$ npx skills add https://github.com/dodopayments/skills --skill webhook-integrationgit clone https://github.com/dodopayments/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a Dodo Payments webhook integration for [COMPANY] in [INDUSTRY]. The webhook should handle events like payment_success, payment_failed, and refund_processed. Include the endpoint URL, required headers, and a sample payload structure. Ensure the response includes a 200 status code and a JSON body with { "status": "success", "event": "[EVENT_NAME]" }.# Dodo Payments Webhook Integration Setup
## Endpoint Configuration
**URL:** `https://api.[COMPANY].com/webhooks/dodo-payments`
## Required Headers
```
Content-Type: application/json
X-Dodo-Signature: [WEBHOOK_SIGNATURE_FROM_DODO]
X-Dodo-Timestamp: [TIMESTAMP]
```
## Sample Payload Structure
```json
{
"event": "payment_success",
"data": {
"payment_id": "dodo_pay_789xyz",
"amount": 149.99,
"currency": "USD",
"customer_email": "[email protected]",
"order_id": "order_456abc",
"timestamp": "2023-11-15T14:30:45Z"
}
}
```
## Expected Response
```json
{
"status": "success",
"event": "payment_success"
}
```
## Verification Steps
1. Validate the webhook signature using the `X-Dodo-Signature` header and your Dodo Payments webhook secret.
2. Log the event for debugging and audit purposes.
3. Trigger downstream actions (e.g., update order status, send confirmation email).
4. Return a 200 status code to acknowledge receipt.
---
*Ensure your server is publicly accessible and uses HTTPS for secure communication.*Issue branded debit and credit cards
Payment API with multi-currency and fraud detection
Your Business is One of a Kind. Your Payments Should Be Too.
Modern financial infrastructure for trucking
Lower payment rates for merchants
Flexible integration platform built on Microsoft Azure
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan