POST /merchants/v1/webhook_endpoints
create_webhook_endpoint · 2026-09-25T14:18:55Z · 1263 ms
201
← Outgoing
Request body
{
"webhook_endpoint": {
"url": "https://zay-dummy-merchant.dobbi.shop/webhooks",
"description": "dummy merchant"
}
}Request headers
https://api-connect.zay.me/merchants/v1/webhook_endpoints
{
"zay-api-key": "01a0d8de-4c75-76b9-bfb5-b4586f105038",
"zay-timestamp": "1790345934",
"zay-signature": "87e526d97d107abc0fe413d7a5d84cbbf8479af3fefc51dd5daf8191c905c502",
"Idempotency-Key": "\"3ed01d06-d5cb-41ce-ae39-da5314a1d99a\"",
"Content-Type": "application/json",
"Accept": "application/json"
}Response body
{
"webhook_endpoint": {
"id": "01a0d8ee-f91a-7a06-b125-436e66878936",
"url": "https://zay-dummy-merchant.dobbi.shop/webhooks",
"description": "dummy merchant",
"status": "enabled",
"created_at": "2026-09-25T14:18:54Z",
"updated_at": "2026-09-25T14:18:54Z",
"signing_secret": "whsec_i8EK9WMogU+iYe1NViN5EiK9Mp1u6hXF6igOSxjkqVM="
}
}Response headers
{
"date": "Fri, 25 Sep 2026 14:18:55 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "313",
"connection": "keep-alive",
"cache-control": "max-age=0, private, must-revalidate",
"set-cookie": "__cf_bm=kcwxmwPwplBK4FvLaHYtqys4N3_mXJJYi9JdYXNbJ1k-1790345934.190555-1.0.1.1-15nQdTA1q9Zb6.YBy_X7l8BSDfwYc7VcwjBQkGdfhP8FstsmdZRU_1VWw37vqSpthEC45R9IHLVeQRTJgQEY_VYyjcyYgpdkG.eaK0zdz27RpH1BpJhMWlhpBudjgGQj; HttpOnly; SameSite=None; Secure; Path=/; Domain=api-connect.zay.me; Expires=Fri, 25 Sep 2026 14:48:55 GMT",
"content-security-policy": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; img-src 'self' data: https://validator.swagger.io; object-src 'none'; base-uri 'self'; frame-ancestors 'self'",
"etag": "W/\"913495c996547b0fc4a58de6a97b501b\"",
"referrer-policy": "strict-origin-when-cross-origin",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"vary": "Accept-Encoding,Accept",
"x-app-revision": "133b25328d12f1a38fa841d4c9e0c6527c66d0c7",
"x-cache": "bypass",
"x-content-type-options": "nosniff",
"x-frame-options": "SAMEORIGIN",
"x-permitted-cross-domain-policies": "none",
"x-request-id": "b3a781af-b7ac-4391-932b-18f6d9199db2",
"x-runtime": "1.108097",
"x-xss-protection": "0",
"server": "cloudflare",
"x-do-app-origin": "87888b6d-cb15-4812-8102-0e8a991df6f6",
"x-do-orig-status": "201",
"cf-cache-status": "DYNAMIC",
"nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}",
"report-to": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=%2B5a1ybPFL1APhwMJn%2FYZW2sp0I%2BUpaRgb9OU5wVUESD0Ayic0IaSGmsHZBabHiHgWWLEFLEaMIPiUfJPT4%2F55OodSI9sTdvjA7vm3f4wfdLCl9FQC9MWEUQaTspUkBWcfBRUffM%3D\"}]}",
"cf-ray": "a40aa9287a1db8e4-AMS",
"alt-svc": "h3=\":443\"; ma=86400"
}