KashierDevelopersKashier Developers

Test a webhook

curl -X POST "https://test-api.kashier.io/v2/webhooks/string/test" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "statusCode": 200,  "responseBody": "OK",  "latencyMs": 184}

Sends a signed sample payload to a webhook's configured URL so you can confirm the endpoint is reachable and your signature verification works — without waiting for a real event.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Path Parameters

webhookId*string

The webhook's _id.

Request Body

application/json

Optional. Send an empty body (or no body at all) to test the webhook exactly as it is saved. Send any of the fields below to override the saved configuration for this one test delivery only — nothing is written back to the webhook.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/v2/webhooks/{webhookId}/test