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