Webhooks
Pruebas de webhooks. Bins: crea un bin, apunta un emisor de webhooks a /api/webhooks/{binId} e inspecciona lo que llegó. Límite de 100 bins (se descartan los más antiguos), 50 peticiones por bin (se guardan las más recientes) y 256KB por cuerpo capturado. Ejemplos: eventos fijos de Stripe, GitHub y Shopify con cabeceras de firma válidas, para probar la verificación de firmas. Este controlador nunca hace llamadas HTTP salientes.Pruebas de webhooks. Bins: crea un bin, apunta un emisor de webhooks a … e inspecciona lo que llegó. Límite de 100 bins (se descartan los más antiguos), 50 peticiones por bin (se guardan las más recientes) y 256KB por cuerpo capturado. Ejemplos: eventos fijos de Stripe, GitHub y Shopify con cabeceras de firma válidas, para probar la verificación de firmas. Este controlador nunca hace llamadas HTTP salientes.
Tu cuenta desbloquea estos endpoints. Usa Try it en la página de cada endpoint para enviar peticiones.
Estos endpoints necesitan una cuenta gratuita. Crea una o inicia sesión para ver sus detalles y probarlos aquí.
- GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}Capture any request sent to a binCapture any request sent to a bin. - GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/webhooks/{binId}/{rest}Capture any request sent to a binCapture any request sent to a bin. - POST
https://api.testingapis.com/api/webhooks/binsCreate a webhook bin that captures incoming requestsCreate a webhook bin that captures incoming requests. - GET
https://api.testingapis.com/api/webhooks/bins/{id}Inspect a bin and the requests it capturedInspect a bin and the requests it captured. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}Delete a binDelete a bin. - DELETE
https://api.testingapis.com/api/webhooks/bins/{id}/requestsClear a bin's captured requestsClear a bin's captured requests. - GET
https://api.testingapis.com/api/webhooks/samplesList the sample signed webhook eventsList the sample signed webhook events. - GET
https://api.testingapis.com/api/webhooks/samples/{provider}Get a signed sample event for testing signature verificationGet a signed sample event for testing signature verification.
Petición de ejemplo
List the sample signed webhook events. Referencia completa y botón Send (en inglés).
curl -X GET "https://api.testingapis.com/api/webhooks/samples"{
"signingSecret": "whsec_apibee_test_secret",
"note": "Each sample returns the exact signed payload as the body, with the provider's signature headers. ?format=envelope returns everything as JSO…
"samples": [
{
"provider": "stripe",
"eventType": "payment_intent.succeeded",
"signatureHeader": "Stripe-Signature",
"url": "/api/webhooks/samples/stripe"
},
{
"provider": "github",
"eventType": "push",
"signatureHeader": "X-Hub-Signature-256,
… (10 more lines)Inicia sesión para ver los detalles
Los parámetros, los ejemplos de petición y respuesta y el panel Try it en vivo de estos endpoints son para miembros con sesión iniciada. Las cuentas son gratuitas y se crean en unos segundos.