Webhooks & Events
Webhooks allow you to receive real-time notifications when events occur in your meCash account.Overview
Webhooks are HTTP POST requests sent to your server when specific events occur. They contain event data in JSON format and are sent with a signature for security verification.Supported Events
transaction.created
- New transaction initiatedtransaction.completed
- Transaction successfully completedtransaction.failed
- Transaction failedpayout.created
- New payout initiatedpayout.completed
- Payout successfully completedpayout.failed
- Payout failedquote.created
- New quote generatedquote.expired
- Quote expired
Setting Up Webhooks
- Log into your meCash Business dashboard
- Navigate to Developer → Webhooks
- Click Add Webhook Endpoint
- Enter your webhook URL (must be HTTPS)
- Select the events you want to receive
- Save the configuration
Webhook Payload Format
Security
Each webhook includes a signature in theX-meCash-Signature
header for verification.
Best Practices
- Handle duplicate webhooks (check webhook_id)
- Respond with HTTP 200 within 10 seconds
- Always verify webhook signatures
- Log all webhook events for debugging