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 initiated.transaction.completed- Transaction successfully completed.transaction.failed- Transaction failed.payout.created- New payout initiated.payout.completed- Payout successfully completed.payout.failed- Payout failed.quote.created- New quote generated.quote.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.

