What are Webhooks?
Webhooks are HTTP callbacks that FossaPay sends to your server when events occur. They enable real-time notifications about payments, payouts, and other important events.Webhook Structure
All webhooks follow this format:Configuration
Set Webhook URL
Verifying Signatures
Always verify webhook signatures:Best Practices
Respond Quickly
Respond Quickly
Return 200 status immediately, process asynchronously
Verify Signatures
Verify Signatures
Always verify the signature before processing
Handle Duplicates
Handle Duplicates
Use event_id to detect duplicate deliveries
Implement Retries
Implement Retries
FossaPay retries failed webhooks up to 5 times
Testing
Use ngrok for local testing:Next Steps
Webhook Events
View all available webhook events
Webhooks Concept
Learn more about webhooks