Send a test event now
POST/tenant/webhook/testProbar
La llamada la hace tu navegador, contra el servidor que elijas arriba. Si la documentación no está servida desde el mismo origen que la API, el navegador puede bloquear la respuesta por CORS: en ese caso abre estas páginas desde la propia API (/docs) o usa el curl de arriba.
POST
/tenant/webhook/test
const url = 'http://localhost:3000/v1/tenant/webhook/test';const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/v1/tenant/webhook/test \ --header 'x-api-key: <x-api-key>'Delivers a signed webhook.test to your URL and returns what your server answered: HTTP status, latency and the network error, if any. It saves you from finding out your webhook doesn’t work on the day you move money. Scope tenant:write or webhooks:write.
It doesn’t go through the event queue: it isn’t retried and doesn’t show up in GET /v1/events.
Authorizations
Sección titulada «Authorizations»Responses
Sección titulada «Responses»Resultado del intento de entrega
Media typeapplication/json
object
url
string
delivered
boolean
statusCode
integer
durationMs
integer
error
string
hint
string
Examplegenerated
{ "url": "example", "delivered": true, "statusCode": 1, "durationMs": 1, "error": "example", "hint": "example"}No hay webhook registrado todavía (webhook_not_configured).