Skip to main content

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

Return 200 status immediately, process asynchronously
Always verify the signature before processing
Use event_id to detect duplicate deliveries
FossaPay retries failed webhooks up to 5 times

Testing

Use ngrok for local testing:
Then set the ngrok URL as your webhook endpoint in the dashboard.

Next Steps

Webhook Events

View all available webhook events

Webhooks Concept

Learn more about webhooks