Test Webhook
POST/b2b/webhooks/:webhook_id/test
Send a test event to verify your webhook configuration.
This endpoint sends a test event to your configured webhook URL, allowing you to verify that:
- Your endpoint is reachable
- Your signature verification is working correctly
- Your endpoint responds appropriately
The test event will include a real HMAC signature that you can verify using your webhook secret.
Test Event Payload
The test event has the following structure:
{
"event_type": "webhook.test",
"message": "This is a test webhook event to verify your endpoint configuration."
}
Error Handling
| Error Type | Message | When |
|---|---|---|
Webhook not found | The webhook ID doesn't exist or belongs to a different domain | |
Webhook is disabled | The webhook exists but is not enabled (enabled: false) |
Request
Responses
- 200
- 429
- 500
Test webhook sent (check result for delivery status)
Rate Limit Error
Internal Error