Skip to main content

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 TypeMessageWhen
Webhook not foundThe webhook ID doesn't exist or belongs to a different domain
Webhook is disabledThe webhook exists but is not enabled (enabled: false)

Request

Responses

Test webhook sent (check result for delivery status)