Discord Notifications
Receive real-time payment notifications in your Discord server
Overview
Get instant notifications in your Discord server when payments are completed, failed, or refunded. Perfect for keeping your team updated in real-time.
Setting Up Discord Notifications
Step 1: Create a Discord Webhook
- Open your Discord server
- Right-click the channel where you want notifications
- Click "Edit Channel" > "Integrations"
- Click "Create Webhook" or "View Webhooks"
- Click "New Webhook"
- Name it (e.g., "Payzo Payments")
- Click "Copy Webhook URL"
The URL will look like:
https://discord.com/api/webhooks/123456789/abcdefgh...
Step 2: Configure in Payzo Dashboard
- Go to Dashboard > Shops
- Select your shop
- Click "Edit" or "Settings"
- Scroll to Discord Notifications
- Paste your Discord Webhook URL
- Select which events to notify:
- Payment Completed (recommended)
- Payment Failed
- Payment Refunded (recommended)
- Click "Save"
Step 3: Test Your Integration
- Click "Test Discord Notification" button
- Check your Discord channel for a test message
- If successful, you'll see a blue embed with test data
Notification Examples
Payment Completed
[Green Embed]
🟢 Payment Completed
Amount: $50.00 USD
Payment ID: pay_abc123def456
Status: Completed
Customer: John Doe (john@example.com)
Metadata:
**order_id**: ORD-12345
**product**: Premium Package
Time: 2 minutes ago
My Awesome Store • Payzo
Payment Failed
[Red Embed]
🔴 Payment Failed
Amount: $25.00 USD
Payment ID: pay_xyz789
Status: Failed
Customer: jane@example.com
Time: Just now
My Awesome Store • Payzo
Payment Refunded
[Orange Embed]
🟠 Payment Refunded
Amount: $100.00 USD
Payment ID: pay_refund123
Status: Refunded
Customer: Bob Smith (bob@example.com)
Time: 5 minutes ago
My Awesome Store • Payzo
Customizing Notifications
Event Types
You can choose which events trigger notifications:
| Event | Description | Recommended |
|---|---|---|
| Payment Completed | Customer successfully paid | Yes |
| Payment Failed | Payment attempt failed | Optional |
| Payment Refunded | Payment was refunded | Yes |
Notification Settings
Configure per shop:
- Discord Webhook URL: Your Discord webhook endpoint
- Notify on Completed: Get notified when payments succeed
- Notify on Failed: Get notified when payments fail
- Notify on Refunded: Get notified when payments are refunded
Next Steps
- Webhooks Overview - Primary notification system
- API Reference - API documentation