Webhook Quick Start Guide
Set up your first EdenPay webhook endpoint in under 5 minutes.
Prerequisites
- Active BlockEden.xyz account (sign up here)
- A publicly accessible HTTPS server endpoint
- Basic knowledge of your backend framework
Step 1: Create a Webhook Endpoint (2 minutes)
- Log in to your BlockEden dashboard
- Navigate to Accept Payments → Webhooks tab
- Click "Add Endpoint" button
- Configure your endpoint:
- URL: Enter your HTTPS webhook URL (e.g.,
https://your-domain.com/api/webhooks) - Events: Select events to receive (start with
payment.confirmedandpayment.failed) - Description: Optional description for your reference
- URL: Enter your HTTPS webhook URL (e.g.,
- Click "Create Endpoint"
- Copy the secret displayed in the success modal
Save it securely - you won't see it again
Store Your Secret Securely
Save the webhook secret in your environment variables or secrets manager immediately. You'll need it to verify webhook signatures.
Step 2: Implement Your Webhook Handler (3 minutes)
Choose your backend framework: