[{"data":1,"prerenderedAt":2291},["ShallowReactive",2],{"navigation_docs":3,"-api-reference-webhook-endpoints":190,"-api-reference-webhook-endpoints-surround":2286},[4,8,50,103,186],{"title":5,"path":6,"stem":7},"Introduction","/introduction","0.introduction",{"title":9,"path":10,"stem":11,"children":12,"page":49},"Guides","/guides","1.guides",[13,17,21,25,29,33,37,41,45],{"title":14,"path":15,"stem":16},"Quickstart","/guides/quickstart","1.guides/1.quickstart",{"title":18,"path":19,"stem":20},"Selling Workflow","/guides/selling-workflow","1.guides/2.selling-workflow",{"title":22,"path":23,"stem":24},"Vatly SDKs","/guides/sdks","1.guides/3.sdks",{"title":26,"path":27,"stem":28},"Authentication","/guides/authentication","1.guides/4.authentication",{"title":30,"path":31,"stem":32},"Pagination","/guides/pagination","1.guides/5.pagination",{"title":34,"path":35,"stem":36},"Errors","/guides/errors","1.guides/6.errors",{"title":38,"path":39,"stem":40},"Webhooks","/guides/webhooks","1.guides/7.webhooks",{"title":42,"path":43,"stem":44},"Idempotency","/guides/idempotency","1.guides/8.idempotency",{"title":46,"path":47,"stem":48},"Testing","/guides/testing","1.guides/9.testing",false,{"title":51,"path":52,"stem":53,"children":54,"page":49},"Api Reference","/api-reference","2.api-reference",[55,59,63,67,71,75,79,83,87,91,95,99],{"title":56,"path":57,"stem":58},"Customers","/api-reference/customers","2.api-reference/1.customers",{"title":60,"path":61,"stem":62},"Webhook Endpoints","/api-reference/webhook-endpoints","2.api-reference/10.webhook-endpoints",{"title":64,"path":65,"stem":66},"Test helpers","/api-reference/test-helpers","2.api-reference/11.test-helpers",{"title":68,"path":69,"stem":70},"Checkouts","/api-reference/checkouts","2.api-reference/2.checkouts",{"title":72,"path":73,"stem":74},"One-off Products","/api-reference/one-off-products","2.api-reference/3.one-off-products",{"title":76,"path":77,"stem":78},"Subscriptions","/api-reference/subscriptions","2.api-reference/4.subscriptions",{"title":80,"path":81,"stem":82},"Subscription Plans","/api-reference/subscription-plans","2.api-reference/5.subscription-plans",{"title":84,"path":85,"stem":86},"Orders","/api-reference/orders","2.api-reference/6.orders",{"title":88,"path":89,"stem":90},"Order Refunds","/api-reference/refunds","2.api-reference/7.refunds",{"title":92,"path":93,"stem":94},"Refunds","/api-reference/global-refunds","2.api-reference/8.global-refunds",{"title":96,"path":97,"stem":98},"Chargebacks","/api-reference/chargebacks","2.api-reference/9.chargebacks",{"title":100,"path":101,"stem":102},"Webhook Events","/api-reference/webhook-events","2.api-reference/99.webhook-events",{"title":104,"path":105,"stem":106,"children":107},"Packages","/packages","3.packages",[108,111,151],{"title":109,"path":105,"stem":110},"","3.packages/index",{"title":112,"path":113,"stem":114,"children":115,"page":49},"Php","/packages/php","3.packages/1.php",[116,120,123,126,129,132,135,138,142,145,148],{"title":117,"path":118,"stem":119},"Getting Started","/packages/php/readme","3.packages/1.php/0.readme",{"title":56,"path":121,"stem":122},"/packages/php/customers","3.packages/1.php/1.customers",{"title":68,"path":124,"stem":125},"/packages/php/checkouts","3.packages/1.php/2.checkouts",{"title":76,"path":127,"stem":128},"/packages/php/subscriptions","3.packages/1.php/3.subscriptions",{"title":80,"path":130,"stem":131},"/packages/php/subscriptionplans","3.packages/1.php/4.subscriptionplans",{"title":84,"path":133,"stem":134},"/packages/php/orders","3.packages/1.php/5.orders",{"title":92,"path":136,"stem":137},"/packages/php/refunds","3.packages/1.php/6.refunds",{"title":139,"path":140,"stem":141},"One-Off Products","/packages/php/oneoffproducts","3.packages/1.php/7.oneoffproducts",{"title":96,"path":143,"stem":144},"/packages/php/chargebacks","3.packages/1.php/8.chargebacks",{"title":38,"path":146,"stem":147},"/packages/php/webhooks","3.packages/1.php/9.webhooks",{"title":60,"path":149,"stem":150},"/packages/php/webhookendpoints","3.packages/1.php/99.webhookendpoints",{"title":152,"path":153,"stem":154,"children":155,"page":49},"Laravel","/packages/laravel","3.packages/2.laravel",[156,159,162,165,168,171,174,178,182],{"title":117,"path":157,"stem":158},"/packages/laravel/readme","3.packages/2.laravel/0.readme",{"title":56,"path":160,"stem":161},"/packages/laravel/customers","3.packages/2.laravel/1.customers",{"title":68,"path":163,"stem":164},"/packages/laravel/checkouts","3.packages/2.laravel/2.checkouts",{"title":76,"path":166,"stem":167},"/packages/laravel/subscriptions","3.packages/2.laravel/3.subscriptions",{"title":84,"path":169,"stem":170},"/packages/laravel/orders","3.packages/2.laravel/4.orders",{"title":38,"path":172,"stem":173},"/packages/laravel/webhooks","3.packages/2.laravel/5.webhooks",{"title":175,"path":176,"stem":177},"Vs Cashier (Stripe, Paddle) & Lemon Squeezy","/packages/laravel/comparison","3.packages/2.laravel/6.comparison",{"title":179,"path":180,"stem":181},"Migrating from Cashier","/packages/laravel/migrating-to-vatly","3.packages/2.laravel/7.migrating-to-vatly",{"title":183,"path":184,"stem":185},"Configuration","/packages/laravel/configuration","3.packages/2.laravel/99.configuration",{"title":187,"path":188,"stem":189},"Integrations","/integrations","4.integrations",{"id":191,"title":60,"body":192,"description":2280,"extension":2281,"links":2282,"meta":2283,"navigation":561,"path":61,"seo":2284,"stem":62,"__hash__":2285},"docs/2.api-reference/10.webhook-endpoints.md",{"type":193,"value":194,"toc":2260},"minimark",[195,200,219,227,235,240,360,363,367,372,375,379,436,943,945,949,954,957,967,981,985,1032,1385,1387,1391,1396,1399,1403,1431,1703,1705,1709,1714,1723,1726,1729,1769,2098,2100,2104,2109,2112,2115,2141,2249,2256],[196,197,199],"h2",{"id":198},"the-webhook-endpoint-api-resource","The Webhook Endpoint API Resource",[201,202,203,204,208,209,212,213,218],"p",{},"A webhook endpoint is the URL Vatly ",[205,206,207],"code",{},"POST","s event deliveries to. Each delivery is signed with the secret you set (see the ",[205,210,211],{},"Vatly-Signature"," header in the ",[214,215,217],"a",{"href":216},"/guides/webhooks#verifying-signatures","Webhooks guide",").",[201,220,221,222,226],{},"There is ",[223,224,225],"strong",{},"at most one endpoint per mode"," — one for test and one for live — and the mode is determined by the API token you use. Managing endpoints from the API is useful for provisioning from CI / infrastructure-as-code, or pointing an ephemeral preview environment at its own public URL.",[228,229,230,231,234],"note",{},"The signing ",[223,232,233],{},"secret is write-only",": you supply it on creation (and may rotate it via update), but it is never returned in any response. Store the value you send — the API will not give it back.",[236,237,239],"h3",{"id":238},"properties","Properties",[241,242,243,259],"table",{},[244,245,246],"thead",{},[247,248,249,253,256],"tr",{},[250,251,252],"th",{},"Name",[250,254,255],{},"Type",[250,257,258],{},"Description",[260,261,262,281,299,314,328,342],"tbody",{},[247,263,264,270,275],{},[265,266,267],"td",{},[205,268,269],{},"id",[265,271,272],{},[205,273,274],{},"string",[265,276,277,278,218],{},"Unique identifier for the webhook endpoint (starts with ",[205,279,280],{},"webhook_",[247,282,283,288,292],{},[265,284,285],{},[205,286,287],{},"resource",[265,289,290],{},[205,291,274],{},[265,293,294,295,298],{},"The resource type. Always ",[205,296,297],{},"webhook_endpoint",".",[247,300,301,306,311],{},[265,302,303],{},[205,304,305],{},"testmode",[265,307,308],{},[205,309,310],{},"boolean",[265,312,313],{},"Whether this endpoint receives test-mode events.",[247,315,316,321,325],{},[265,317,318],{},[205,319,320],{},"url",[265,322,323],{},[205,324,274],{},[265,326,327],{},"The HTTPS URL deliveries are POSTed to.",[247,329,330,335,339],{},[265,331,332],{},[205,333,334],{},"createdAt",[265,336,337],{},[205,338,274],{},[265,340,341],{},"When this endpoint was created (ISO 8601 format).",[247,343,344,349,354],{},[265,345,346],{},[205,347,348],{},"links",[265,350,351],{},[205,352,353],{},"object",[265,355,356,357,298],{},"HATEOAS links to related resources. Contains ",[205,358,359],{},"self",[361,362],"hr",{},[196,364,366],{"id":365},"list-webhook-endpoints","List webhook endpoints",[201,368,369],{},[205,370,371],{},"GET /v1/webhook-endpoints",[201,373,374],{},"Returns the webhook endpoints for the authenticated merchant, filtered by the testmode determined from the API token. Because there is at most one endpoint per mode, this returns at most one endpoint. The signing secret is never included.",[236,376,378],{"id":377},"optional-attributes","Optional attributes",[241,380,381,391],{},[244,382,383],{},[247,384,385,387,389],{},[250,386,252],{},[250,388,255],{},[250,390,258],{},[260,392,393,408,422],{},[247,394,395,400,405],{},[265,396,397],{},[205,398,399],{},"limit",[265,401,402],{},[205,403,404],{},"integer",[265,406,407],{},"The number of endpoints to return (default: 10, max: 100).",[247,409,410,415,419],{},[265,411,412],{},[205,413,414],{},"startingAfter",[265,416,417],{},[205,418,274],{},[265,420,421],{},"A cursor for use in pagination. Returns results after this endpoint ID.",[247,423,424,429,433],{},[265,425,426],{},[205,427,428],{},"endingBefore",[265,430,431],{},[205,432,274],{},[265,434,435],{},"A cursor for use in pagination. Returns results before this endpoint ID.",[437,438,440,485,590],"code-group",{"sync":439},"api",[441,442,447],"pre",{"className":443,"code":444,"filename":445,"language":446,"meta":109,"style":109},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -G https://api.vatly.com/v1/webhook-endpoints \\\n  -H \"Authorization: Bearer live_your_api_key_here\"\n","cURL","bash",[205,448,449,469],{"__ignoreMap":109},[450,451,454,458,462,465],"span",{"class":452,"line":453},"line",1,[450,455,457],{"class":456},"sBMFI","curl",[450,459,461],{"class":460},"sfazB"," -G",[450,463,464],{"class":460}," https://api.vatly.com/v1/webhook-endpoints",[450,466,468],{"class":467},"sTEyZ"," \\\n",[450,470,472,475,479,482],{"class":452,"line":471},2,[450,473,474],{"class":460},"  -H",[450,476,478],{"class":477},"sMK4o"," \"",[450,480,481],{"class":460},"Authorization: Bearer live_your_api_key_here",[450,483,484],{"class":477},"\"\n",[441,486,491],{"className":487,"code":488,"filename":489,"language":490,"meta":109,"style":109},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","$vatly = new \\Vatly\\API\\VatlyApiClient();\n$vatly->setApiKey('live_your_api_key_here');\n\n$endpoints = $vatly->webhookEndpoints->page();\n","PHP","php",[205,492,493,528,556,563],{"__ignoreMap":109},[450,494,495,498,501,504,508,511,514,517,520,522,525],{"class":452,"line":453},[450,496,497],{"class":477},"$",[450,499,500],{"class":467},"vatly ",[450,502,503],{"class":477},"=",[450,505,507],{"class":506},"sbssI"," new",[450,509,510],{"class":477}," \\",[450,512,513],{"class":467},"Vatly",[450,515,516],{"class":477},"\\",[450,518,519],{"class":467},"API",[450,521,516],{"class":477},[450,523,524],{"class":456},"VatlyApiClient",[450,526,527],{"class":477},"();\n",[450,529,530,532,535,538,542,545,548,551,553],{"class":452,"line":471},[450,531,497],{"class":477},[450,533,534],{"class":467},"vatly",[450,536,537],{"class":477},"->",[450,539,541],{"class":540},"s2Zo4","setApiKey",[450,543,544],{"class":477},"(",[450,546,547],{"class":477},"'",[450,549,550],{"class":460},"live_your_api_key_here",[450,552,547],{"class":477},[450,554,555],{"class":477},");\n",[450,557,559],{"class":452,"line":558},3,[450,560,562],{"emptyLinePlaceholder":561},true,"\n",[450,564,566,568,571,573,576,578,580,583,585,588],{"class":452,"line":565},4,[450,567,497],{"class":477},[450,569,570],{"class":467},"endpoints ",[450,572,503],{"class":477},[450,574,575],{"class":477}," $",[450,577,534],{"class":467},[450,579,537],{"class":477},[450,581,582],{"class":467},"webhookEndpoints",[450,584,537],{"class":477},[450,586,587],{"class":540},"page",[450,589,527],{"class":477},[441,591,596],{"className":592,"code":593,"filename":594,"language":595,"meta":109,"style":109},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"data\": [\n    {\n      \"id\": \"webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n      \"resource\": \"webhook_endpoint\",\n      \"testmode\": false,\n      \"url\": \"https://merchant.example/webhooks/vatly\",\n      \"createdAt\": \"2024-01-15T10:30:00Z\",\n      \"links\": {\n        \"self\": {\n          \"href\": \"https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n          \"type\": \"application/json\"\n        }\n      }\n    }\n  ],\n  \"count\": 1,\n  \"links\": {\n    \"self\": {\n      \"href\": \"https://api.vatly.com/v1/webhook-endpoints\",\n      \"type\": \"application/json\"\n    },\n    \"next\": null,\n    \"prev\": null\n  }\n}\n","Response","json",[205,597,598,603,621,626,647,666,680,700,720,734,748,771,790,796,802,808,814,831,844,858,878,895,901,916,931,937],{"__ignoreMap":109},[450,599,600],{"class":452,"line":453},[450,601,602],{"class":477},"{\n",[450,604,605,608,612,615,618],{"class":452,"line":471},[450,606,607],{"class":477},"  \"",[450,609,611],{"class":610},"spNyl","data",[450,613,614],{"class":477},"\"",[450,616,617],{"class":477},":",[450,619,620],{"class":477}," [\n",[450,622,623],{"class":452,"line":558},[450,624,625],{"class":477},"    {\n",[450,627,628,631,633,635,637,639,642,644],{"class":452,"line":565},[450,629,630],{"class":477},"      \"",[450,632,269],{"class":456},[450,634,614],{"class":477},[450,636,617],{"class":477},[450,638,478],{"class":477},[450,640,641],{"class":460},"webhook_QdEpFhdSrG4Y3DnfsdqsH",[450,643,614],{"class":477},[450,645,646],{"class":477},",\n",[450,648,650,652,654,656,658,660,662,664],{"class":452,"line":649},5,[450,651,630],{"class":477},[450,653,287],{"class":456},[450,655,614],{"class":477},[450,657,617],{"class":477},[450,659,478],{"class":477},[450,661,297],{"class":460},[450,663,614],{"class":477},[450,665,646],{"class":477},[450,667,669,671,673,675,677],{"class":452,"line":668},6,[450,670,630],{"class":477},[450,672,305],{"class":456},[450,674,614],{"class":477},[450,676,617],{"class":477},[450,678,679],{"class":477}," false,\n",[450,681,683,685,687,689,691,693,696,698],{"class":452,"line":682},7,[450,684,630],{"class":477},[450,686,320],{"class":456},[450,688,614],{"class":477},[450,690,617],{"class":477},[450,692,478],{"class":477},[450,694,695],{"class":460},"https://merchant.example/webhooks/vatly",[450,697,614],{"class":477},[450,699,646],{"class":477},[450,701,703,705,707,709,711,713,716,718],{"class":452,"line":702},8,[450,704,630],{"class":477},[450,706,334],{"class":456},[450,708,614],{"class":477},[450,710,617],{"class":477},[450,712,478],{"class":477},[450,714,715],{"class":460},"2024-01-15T10:30:00Z",[450,717,614],{"class":477},[450,719,646],{"class":477},[450,721,723,725,727,729,731],{"class":452,"line":722},9,[450,724,630],{"class":477},[450,726,348],{"class":456},[450,728,614],{"class":477},[450,730,617],{"class":477},[450,732,733],{"class":477}," {\n",[450,735,737,740,742,744,746],{"class":452,"line":736},10,[450,738,739],{"class":477},"        \"",[450,741,359],{"class":506},[450,743,614],{"class":477},[450,745,617],{"class":477},[450,747,733],{"class":477},[450,749,751,754,758,760,762,764,767,769],{"class":452,"line":750},11,[450,752,753],{"class":477},"          \"",[450,755,757],{"class":756},"swJcz","href",[450,759,614],{"class":477},[450,761,617],{"class":477},[450,763,478],{"class":477},[450,765,766],{"class":460},"https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH",[450,768,614],{"class":477},[450,770,646],{"class":477},[450,772,774,776,779,781,783,785,788],{"class":452,"line":773},12,[450,775,753],{"class":477},[450,777,778],{"class":756},"type",[450,780,614],{"class":477},[450,782,617],{"class":477},[450,784,478],{"class":477},[450,786,787],{"class":460},"application/json",[450,789,484],{"class":477},[450,791,793],{"class":452,"line":792},13,[450,794,795],{"class":477},"        }\n",[450,797,799],{"class":452,"line":798},14,[450,800,801],{"class":477},"      }\n",[450,803,805],{"class":452,"line":804},15,[450,806,807],{"class":477},"    }\n",[450,809,811],{"class":452,"line":810},16,[450,812,813],{"class":477},"  ],\n",[450,815,817,819,822,824,826,829],{"class":452,"line":816},17,[450,818,607],{"class":477},[450,820,821],{"class":610},"count",[450,823,614],{"class":477},[450,825,617],{"class":477},[450,827,828],{"class":506}," 1",[450,830,646],{"class":477},[450,832,834,836,838,840,842],{"class":452,"line":833},18,[450,835,607],{"class":477},[450,837,348],{"class":610},[450,839,614],{"class":477},[450,841,617],{"class":477},[450,843,733],{"class":477},[450,845,847,850,852,854,856],{"class":452,"line":846},19,[450,848,849],{"class":477},"    \"",[450,851,359],{"class":456},[450,853,614],{"class":477},[450,855,617],{"class":477},[450,857,733],{"class":477},[450,859,861,863,865,867,869,871,874,876],{"class":452,"line":860},20,[450,862,630],{"class":477},[450,864,757],{"class":506},[450,866,614],{"class":477},[450,868,617],{"class":477},[450,870,478],{"class":477},[450,872,873],{"class":460},"https://api.vatly.com/v1/webhook-endpoints",[450,875,614],{"class":477},[450,877,646],{"class":477},[450,879,881,883,885,887,889,891,893],{"class":452,"line":880},21,[450,882,630],{"class":477},[450,884,778],{"class":506},[450,886,614],{"class":477},[450,888,617],{"class":477},[450,890,478],{"class":477},[450,892,787],{"class":460},[450,894,484],{"class":477},[450,896,898],{"class":452,"line":897},22,[450,899,900],{"class":477},"    },\n",[450,902,904,906,909,911,913],{"class":452,"line":903},23,[450,905,849],{"class":477},[450,907,908],{"class":456},"next",[450,910,614],{"class":477},[450,912,617],{"class":477},[450,914,915],{"class":477}," null,\n",[450,917,919,921,924,926,928],{"class":452,"line":918},24,[450,920,849],{"class":477},[450,922,923],{"class":456},"prev",[450,925,614],{"class":477},[450,927,617],{"class":477},[450,929,930],{"class":477}," null\n",[450,932,934],{"class":452,"line":933},25,[450,935,936],{"class":477},"  }\n",[450,938,940],{"class":452,"line":939},26,[450,941,942],{"class":477},"}\n",[361,944],{},[196,946,948],{"id":947},"register-a-webhook-endpoint","Register a webhook endpoint",[201,950,951],{},[205,952,953],{},"POST /v1/webhook-endpoints",[201,955,956],{},"Registers a webhook endpoint for the mode determined by the API token.",[201,958,959,960,963,964,966],{},"You supply the signing ",[205,961,962],{},"secret","; it is write-only and never returned, so keep the value you send — you use it to verify the ",[205,965,211],{}," HMAC on deliveries.",[201,968,969,970,973,974,977,978,980],{},"Vatly sends a ",[205,971,972],{},"webhook.setup"," verification ping to the URL and validates its SSL certificate; if either fails the request is rejected with ",[205,975,976],{},"422",". There is at most one endpoint per mode — registering a second one when the token's mode already has an endpoint returns ",[205,979,976],{},"; update or delete the existing one instead.",[236,982,984],{"id":983},"required-attributes","Required attributes",[241,986,987,997],{},[244,988,989],{},[247,990,991,993,995],{},[250,992,252],{},[250,994,255],{},[250,996,258],{},[260,998,999,1016],{},[247,1000,1001,1005,1009],{},[265,1002,1003],{},[205,1004,320],{},[265,1006,1007],{},[205,1008,274],{},[265,1010,1011,1012,1015],{},"The HTTPS URL deliveries are POSTed to. Must be publicly reachable and present a valid SSL certificate. ",[205,1013,1014],{},"localhost"," and loopback addresses are not allowed.",[247,1017,1018,1022,1026],{},[265,1019,1020],{},[205,1021,962],{},[265,1023,1024],{},[205,1025,274],{},[265,1027,1028,1029,1031],{},"Signing secret for this endpoint (at least 10 characters), used to compute the ",[205,1030,211],{}," HMAC on every delivery. You choose it (e.g. pinned from an environment variable). Write-only — the API never returns it.",[437,1033,1034,1100,1222],{"sync":439},[441,1035,1037],{"className":443,"code":1036,"filename":445,"language":446,"meta":109,"style":109},"curl https://api.vatly.com/v1/webhook-endpoints \\\n  -H \"Authorization: Bearer live_your_api_key_here\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"url\": \"https://merchant.example/webhooks/vatly\",\n    \"secret\": \"whsec_3f9a1c7e2d4f7b9c5a2c1d5b7e9f3a8d\"\n  }'\n",[205,1038,1039,1047,1059,1072,1082,1087,1092],{"__ignoreMap":109},[450,1040,1041,1043,1045],{"class":452,"line":453},[450,1042,457],{"class":456},[450,1044,464],{"class":460},[450,1046,468],{"class":467},[450,1048,1049,1051,1053,1055,1057],{"class":452,"line":471},[450,1050,474],{"class":460},[450,1052,478],{"class":477},[450,1054,481],{"class":460},[450,1056,614],{"class":477},[450,1058,468],{"class":467},[450,1060,1061,1063,1065,1068,1070],{"class":452,"line":558},[450,1062,474],{"class":460},[450,1064,478],{"class":477},[450,1066,1067],{"class":460},"Content-Type: application/json",[450,1069,614],{"class":477},[450,1071,468],{"class":467},[450,1073,1074,1077,1080],{"class":452,"line":565},[450,1075,1076],{"class":460},"  -d",[450,1078,1079],{"class":477}," '",[450,1081,602],{"class":460},[450,1083,1084],{"class":452,"line":649},[450,1085,1086],{"class":460},"    \"url\": \"https://merchant.example/webhooks/vatly\",\n",[450,1088,1089],{"class":452,"line":668},[450,1090,1091],{"class":460},"    \"secret\": \"whsec_3f9a1c7e2d4f7b9c5a2c1d5b7e9f3a8d\"\n",[450,1093,1094,1097],{"class":452,"line":682},[450,1095,1096],{"class":460},"  }",[450,1098,1099],{"class":477},"'\n",[441,1101,1103],{"className":487,"code":1102,"filename":489,"language":490,"meta":109,"style":109},"$vatly = new \\Vatly\\API\\VatlyApiClient();\n$vatly->setApiKey('live_your_api_key_here');\n\n$endpoint = $vatly->webhookEndpoints->create([\n  'url' => 'https://merchant.example/webhooks/vatly',\n  'secret' => 'whsec_3f9a1c7e2d4f7b9c5a2c1d5b7e9f3a8d',\n]);\n",[205,1104,1105,1129,1149,1153,1178,1198,1217],{"__ignoreMap":109},[450,1106,1107,1109,1111,1113,1115,1117,1119,1121,1123,1125,1127],{"class":452,"line":453},[450,1108,497],{"class":477},[450,1110,500],{"class":467},[450,1112,503],{"class":477},[450,1114,507],{"class":506},[450,1116,510],{"class":477},[450,1118,513],{"class":467},[450,1120,516],{"class":477},[450,1122,519],{"class":467},[450,1124,516],{"class":477},[450,1126,524],{"class":456},[450,1128,527],{"class":477},[450,1130,1131,1133,1135,1137,1139,1141,1143,1145,1147],{"class":452,"line":471},[450,1132,497],{"class":477},[450,1134,534],{"class":467},[450,1136,537],{"class":477},[450,1138,541],{"class":540},[450,1140,544],{"class":477},[450,1142,547],{"class":477},[450,1144,550],{"class":460},[450,1146,547],{"class":477},[450,1148,555],{"class":477},[450,1150,1151],{"class":452,"line":558},[450,1152,562],{"emptyLinePlaceholder":561},[450,1154,1155,1157,1160,1162,1164,1166,1168,1170,1172,1175],{"class":452,"line":565},[450,1156,497],{"class":477},[450,1158,1159],{"class":467},"endpoint ",[450,1161,503],{"class":477},[450,1163,575],{"class":477},[450,1165,534],{"class":467},[450,1167,537],{"class":477},[450,1169,582],{"class":467},[450,1171,537],{"class":477},[450,1173,1174],{"class":540},"create",[450,1176,1177],{"class":477},"([\n",[450,1179,1180,1183,1185,1187,1190,1192,1194,1196],{"class":452,"line":649},[450,1181,1182],{"class":477},"  '",[450,1184,320],{"class":460},[450,1186,547],{"class":477},[450,1188,1189],{"class":477}," =>",[450,1191,1079],{"class":477},[450,1193,695],{"class":460},[450,1195,547],{"class":477},[450,1197,646],{"class":477},[450,1199,1200,1202,1204,1206,1208,1210,1213,1215],{"class":452,"line":668},[450,1201,1182],{"class":477},[450,1203,962],{"class":460},[450,1205,547],{"class":477},[450,1207,1189],{"class":477},[450,1209,1079],{"class":477},[450,1211,1212],{"class":460},"whsec_3f9a1c7e2d4f7b9c5a2c1d5b7e9f3a8d",[450,1214,547],{"class":477},[450,1216,646],{"class":477},[450,1218,1219],{"class":452,"line":682},[450,1220,1221],{"class":477},"]);\n",[441,1223,1225],{"className":592,"code":1224,"filename":594,"language":595,"meta":109,"style":109},"{\n  \"id\": \"webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n  \"resource\": \"webhook_endpoint\",\n  \"testmode\": false,\n  \"url\": \"https://merchant.example/webhooks/vatly\",\n  \"createdAt\": \"2024-01-15T10:30:00Z\",\n  \"links\": {\n    \"self\": {\n      \"href\": \"https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n      \"type\": \"application/json\"\n    }\n  }\n}\n",[205,1226,1227,1231,1249,1267,1279,1297,1315,1327,1339,1357,1373,1377,1381],{"__ignoreMap":109},[450,1228,1229],{"class":452,"line":453},[450,1230,602],{"class":477},[450,1232,1233,1235,1237,1239,1241,1243,1245,1247],{"class":452,"line":471},[450,1234,607],{"class":477},[450,1236,269],{"class":610},[450,1238,614],{"class":477},[450,1240,617],{"class":477},[450,1242,478],{"class":477},[450,1244,641],{"class":460},[450,1246,614],{"class":477},[450,1248,646],{"class":477},[450,1250,1251,1253,1255,1257,1259,1261,1263,1265],{"class":452,"line":558},[450,1252,607],{"class":477},[450,1254,287],{"class":610},[450,1256,614],{"class":477},[450,1258,617],{"class":477},[450,1260,478],{"class":477},[450,1262,297],{"class":460},[450,1264,614],{"class":477},[450,1266,646],{"class":477},[450,1268,1269,1271,1273,1275,1277],{"class":452,"line":565},[450,1270,607],{"class":477},[450,1272,305],{"class":610},[450,1274,614],{"class":477},[450,1276,617],{"class":477},[450,1278,679],{"class":477},[450,1280,1281,1283,1285,1287,1289,1291,1293,1295],{"class":452,"line":649},[450,1282,607],{"class":477},[450,1284,320],{"class":610},[450,1286,614],{"class":477},[450,1288,617],{"class":477},[450,1290,478],{"class":477},[450,1292,695],{"class":460},[450,1294,614],{"class":477},[450,1296,646],{"class":477},[450,1298,1299,1301,1303,1305,1307,1309,1311,1313],{"class":452,"line":668},[450,1300,607],{"class":477},[450,1302,334],{"class":610},[450,1304,614],{"class":477},[450,1306,617],{"class":477},[450,1308,478],{"class":477},[450,1310,715],{"class":460},[450,1312,614],{"class":477},[450,1314,646],{"class":477},[450,1316,1317,1319,1321,1323,1325],{"class":452,"line":682},[450,1318,607],{"class":477},[450,1320,348],{"class":610},[450,1322,614],{"class":477},[450,1324,617],{"class":477},[450,1326,733],{"class":477},[450,1328,1329,1331,1333,1335,1337],{"class":452,"line":702},[450,1330,849],{"class":477},[450,1332,359],{"class":456},[450,1334,614],{"class":477},[450,1336,617],{"class":477},[450,1338,733],{"class":477},[450,1340,1341,1343,1345,1347,1349,1351,1353,1355],{"class":452,"line":722},[450,1342,630],{"class":477},[450,1344,757],{"class":506},[450,1346,614],{"class":477},[450,1348,617],{"class":477},[450,1350,478],{"class":477},[450,1352,766],{"class":460},[450,1354,614],{"class":477},[450,1356,646],{"class":477},[450,1358,1359,1361,1363,1365,1367,1369,1371],{"class":452,"line":736},[450,1360,630],{"class":477},[450,1362,778],{"class":506},[450,1364,614],{"class":477},[450,1366,617],{"class":477},[450,1368,478],{"class":477},[450,1370,787],{"class":460},[450,1372,484],{"class":477},[450,1374,1375],{"class":452,"line":750},[450,1376,807],{"class":477},[450,1378,1379],{"class":452,"line":773},[450,1380,936],{"class":477},[450,1382,1383],{"class":452,"line":792},[450,1384,942],{"class":477},[361,1386],{},[196,1388,1390],{"id":1389},"get-a-webhook-endpoint","Get a webhook endpoint",[201,1392,1393],{},[205,1394,1395],{},"GET /v1/webhook-endpoints/:id",[201,1397,1398],{},"Retrieves a webhook endpoint by ID. The signing secret is never included.",[236,1400,1402],{"id":1401},"parameters","Parameters",[241,1404,1405,1415],{},[244,1406,1407],{},[247,1408,1409,1411,1413],{},[250,1410,252],{},[250,1412,255],{},[250,1414,258],{},[260,1416,1417],{},[247,1418,1419,1424,1428],{},[265,1420,1421],{},[205,1422,1423],{},"webhookEndpointId",[265,1425,1426],{},[205,1427,274],{},[265,1429,1430],{},"The unique identifier of the webhook endpoint.",[437,1432,1433,1457,1541],{"sync":439},[441,1434,1436],{"className":443,"code":1435,"filename":445,"language":446,"meta":109,"style":109},"curl https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH \\\n  -H \"Authorization: Bearer live_your_api_key_here\"\n",[205,1437,1438,1447],{"__ignoreMap":109},[450,1439,1440,1442,1445],{"class":452,"line":453},[450,1441,457],{"class":456},[450,1443,1444],{"class":460}," https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH",[450,1446,468],{"class":467},[450,1448,1449,1451,1453,1455],{"class":452,"line":471},[450,1450,474],{"class":460},[450,1452,478],{"class":477},[450,1454,481],{"class":460},[450,1456,484],{"class":477},[441,1458,1460],{"className":487,"code":1459,"filename":489,"language":490,"meta":109,"style":109},"$vatly = new \\Vatly\\API\\VatlyApiClient();\n$vatly->setApiKey('live_your_api_key_here');\n\n$endpoint = $vatly->webhookEndpoints->get('webhook_QdEpFhdSrG4Y3DnfsdqsH');\n",[205,1461,1462,1486,1506,1510],{"__ignoreMap":109},[450,1463,1464,1466,1468,1470,1472,1474,1476,1478,1480,1482,1484],{"class":452,"line":453},[450,1465,497],{"class":477},[450,1467,500],{"class":467},[450,1469,503],{"class":477},[450,1471,507],{"class":506},[450,1473,510],{"class":477},[450,1475,513],{"class":467},[450,1477,516],{"class":477},[450,1479,519],{"class":467},[450,1481,516],{"class":477},[450,1483,524],{"class":456},[450,1485,527],{"class":477},[450,1487,1488,1490,1492,1494,1496,1498,1500,1502,1504],{"class":452,"line":471},[450,1489,497],{"class":477},[450,1491,534],{"class":467},[450,1493,537],{"class":477},[450,1495,541],{"class":540},[450,1497,544],{"class":477},[450,1499,547],{"class":477},[450,1501,550],{"class":460},[450,1503,547],{"class":477},[450,1505,555],{"class":477},[450,1507,1508],{"class":452,"line":558},[450,1509,562],{"emptyLinePlaceholder":561},[450,1511,1512,1514,1516,1518,1520,1522,1524,1526,1528,1531,1533,1535,1537,1539],{"class":452,"line":565},[450,1513,497],{"class":477},[450,1515,1159],{"class":467},[450,1517,503],{"class":477},[450,1519,575],{"class":477},[450,1521,534],{"class":467},[450,1523,537],{"class":477},[450,1525,582],{"class":467},[450,1527,537],{"class":477},[450,1529,1530],{"class":540},"get",[450,1532,544],{"class":477},[450,1534,547],{"class":477},[450,1536,641],{"class":460},[450,1538,547],{"class":477},[450,1540,555],{"class":477},[441,1542,1543],{"className":592,"code":1224,"filename":594,"language":595,"meta":109,"style":109},[205,1544,1545,1549,1567,1585,1597,1615,1633,1645,1657,1675,1691,1695,1699],{"__ignoreMap":109},[450,1546,1547],{"class":452,"line":453},[450,1548,602],{"class":477},[450,1550,1551,1553,1555,1557,1559,1561,1563,1565],{"class":452,"line":471},[450,1552,607],{"class":477},[450,1554,269],{"class":610},[450,1556,614],{"class":477},[450,1558,617],{"class":477},[450,1560,478],{"class":477},[450,1562,641],{"class":460},[450,1564,614],{"class":477},[450,1566,646],{"class":477},[450,1568,1569,1571,1573,1575,1577,1579,1581,1583],{"class":452,"line":558},[450,1570,607],{"class":477},[450,1572,287],{"class":610},[450,1574,614],{"class":477},[450,1576,617],{"class":477},[450,1578,478],{"class":477},[450,1580,297],{"class":460},[450,1582,614],{"class":477},[450,1584,646],{"class":477},[450,1586,1587,1589,1591,1593,1595],{"class":452,"line":565},[450,1588,607],{"class":477},[450,1590,305],{"class":610},[450,1592,614],{"class":477},[450,1594,617],{"class":477},[450,1596,679],{"class":477},[450,1598,1599,1601,1603,1605,1607,1609,1611,1613],{"class":452,"line":649},[450,1600,607],{"class":477},[450,1602,320],{"class":610},[450,1604,614],{"class":477},[450,1606,617],{"class":477},[450,1608,478],{"class":477},[450,1610,695],{"class":460},[450,1612,614],{"class":477},[450,1614,646],{"class":477},[450,1616,1617,1619,1621,1623,1625,1627,1629,1631],{"class":452,"line":668},[450,1618,607],{"class":477},[450,1620,334],{"class":610},[450,1622,614],{"class":477},[450,1624,617],{"class":477},[450,1626,478],{"class":477},[450,1628,715],{"class":460},[450,1630,614],{"class":477},[450,1632,646],{"class":477},[450,1634,1635,1637,1639,1641,1643],{"class":452,"line":682},[450,1636,607],{"class":477},[450,1638,348],{"class":610},[450,1640,614],{"class":477},[450,1642,617],{"class":477},[450,1644,733],{"class":477},[450,1646,1647,1649,1651,1653,1655],{"class":452,"line":702},[450,1648,849],{"class":477},[450,1650,359],{"class":456},[450,1652,614],{"class":477},[450,1654,617],{"class":477},[450,1656,733],{"class":477},[450,1658,1659,1661,1663,1665,1667,1669,1671,1673],{"class":452,"line":722},[450,1660,630],{"class":477},[450,1662,757],{"class":506},[450,1664,614],{"class":477},[450,1666,617],{"class":477},[450,1668,478],{"class":477},[450,1670,766],{"class":460},[450,1672,614],{"class":477},[450,1674,646],{"class":477},[450,1676,1677,1679,1681,1683,1685,1687,1689],{"class":452,"line":736},[450,1678,630],{"class":477},[450,1680,778],{"class":506},[450,1682,614],{"class":477},[450,1684,617],{"class":477},[450,1686,478],{"class":477},[450,1688,787],{"class":460},[450,1690,484],{"class":477},[450,1692,1693],{"class":452,"line":750},[450,1694,807],{"class":477},[450,1696,1697],{"class":452,"line":773},[450,1698,936],{"class":477},[450,1700,1701],{"class":452,"line":792},[450,1702,942],{"class":477},[361,1704],{},[196,1706,1708],{"id":1707},"update-a-webhook-endpoint","Update a webhook endpoint",[201,1710,1711],{},[205,1712,1713],{},"PATCH /v1/webhook-endpoints/:id",[201,1715,1716,1717,1719,1720,1722],{},"Updates a webhook endpoint's ",[205,1718,320],{},", its signing ",[205,1721,962],{},", or both. A new URL is revalidated for reachability and a valid SSL certificate just like on creation. The secret is write-only and is never returned. Sending an empty body is a no-op that returns the current endpoint.",[201,1724,1725],{},"Repointing the URL is the supported way to follow an ephemeral environment whose public URL changes between runs, without rotating the signing secret.",[236,1727,378],{"id":1728},"optional-attributes-1",[241,1730,1731,1741],{},[244,1732,1733],{},[247,1734,1735,1737,1739],{},[250,1736,252],{},[250,1738,255],{},[250,1740,258],{},[260,1742,1743,1756],{},[247,1744,1745,1749,1753],{},[265,1746,1747],{},[205,1748,320],{},[265,1750,1751],{},[205,1752,274],{},[265,1754,1755],{},"New HTTPS delivery URL. Revalidated for reachability and SSL the same way as on creation.",[247,1757,1758,1762,1766],{},[265,1759,1760],{},[205,1761,962],{},[265,1763,1764],{},[205,1765,274],{},[265,1767,1768],{},"New signing secret (at least 10 characters). Write-only — keep the value, as the API never returns it.",[437,1770,1771,1825,1935],{"sync":439},[441,1772,1774],{"className":443,"code":1773,"filename":445,"language":446,"meta":109,"style":109},"curl -X PATCH https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH \\\n  -H \"Authorization: Bearer live_your_api_key_here\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\": \"https://merchant.example/webhooks/vatly-v2\"}'\n",[205,1775,1776,1790,1802,1814],{"__ignoreMap":109},[450,1777,1778,1780,1783,1786,1788],{"class":452,"line":453},[450,1779,457],{"class":456},[450,1781,1782],{"class":460}," -X",[450,1784,1785],{"class":460}," PATCH",[450,1787,1444],{"class":460},[450,1789,468],{"class":467},[450,1791,1792,1794,1796,1798,1800],{"class":452,"line":471},[450,1793,474],{"class":460},[450,1795,478],{"class":477},[450,1797,481],{"class":460},[450,1799,614],{"class":477},[450,1801,468],{"class":467},[450,1803,1804,1806,1808,1810,1812],{"class":452,"line":558},[450,1805,474],{"class":460},[450,1807,478],{"class":477},[450,1809,1067],{"class":460},[450,1811,614],{"class":477},[450,1813,468],{"class":467},[450,1815,1816,1818,1820,1823],{"class":452,"line":565},[450,1817,1076],{"class":460},[450,1819,1079],{"class":477},[450,1821,1822],{"class":460},"{\"url\": \"https://merchant.example/webhooks/vatly-v2\"}",[450,1824,1099],{"class":477},[441,1826,1828],{"className":487,"code":1827,"filename":489,"language":490,"meta":109,"style":109},"$vatly = new \\Vatly\\API\\VatlyApiClient();\n$vatly->setApiKey('live_your_api_key_here');\n\n$endpoint = $vatly->webhookEndpoints->update('webhook_QdEpFhdSrG4Y3DnfsdqsH', [\n  'url' => 'https://merchant.example/webhooks/vatly-v2',\n]);\n",[205,1829,1830,1854,1874,1878,1912,1931],{"__ignoreMap":109},[450,1831,1832,1834,1836,1838,1840,1842,1844,1846,1848,1850,1852],{"class":452,"line":453},[450,1833,497],{"class":477},[450,1835,500],{"class":467},[450,1837,503],{"class":477},[450,1839,507],{"class":506},[450,1841,510],{"class":477},[450,1843,513],{"class":467},[450,1845,516],{"class":477},[450,1847,519],{"class":467},[450,1849,516],{"class":477},[450,1851,524],{"class":456},[450,1853,527],{"class":477},[450,1855,1856,1858,1860,1862,1864,1866,1868,1870,1872],{"class":452,"line":471},[450,1857,497],{"class":477},[450,1859,534],{"class":467},[450,1861,537],{"class":477},[450,1863,541],{"class":540},[450,1865,544],{"class":477},[450,1867,547],{"class":477},[450,1869,550],{"class":460},[450,1871,547],{"class":477},[450,1873,555],{"class":477},[450,1875,1876],{"class":452,"line":558},[450,1877,562],{"emptyLinePlaceholder":561},[450,1879,1880,1882,1884,1886,1888,1890,1892,1894,1896,1899,1901,1903,1905,1907,1910],{"class":452,"line":565},[450,1881,497],{"class":477},[450,1883,1159],{"class":467},[450,1885,503],{"class":477},[450,1887,575],{"class":477},[450,1889,534],{"class":467},[450,1891,537],{"class":477},[450,1893,582],{"class":467},[450,1895,537],{"class":477},[450,1897,1898],{"class":540},"update",[450,1900,544],{"class":477},[450,1902,547],{"class":477},[450,1904,641],{"class":460},[450,1906,547],{"class":477},[450,1908,1909],{"class":477},",",[450,1911,620],{"class":477},[450,1913,1914,1916,1918,1920,1922,1924,1927,1929],{"class":452,"line":649},[450,1915,1182],{"class":477},[450,1917,320],{"class":460},[450,1919,547],{"class":477},[450,1921,1189],{"class":477},[450,1923,1079],{"class":477},[450,1925,1926],{"class":460},"https://merchant.example/webhooks/vatly-v2",[450,1928,547],{"class":477},[450,1930,646],{"class":477},[450,1932,1933],{"class":452,"line":668},[450,1934,1221],{"class":477},[441,1936,1938],{"className":592,"code":1937,"filename":594,"language":595,"meta":109,"style":109},"{\n  \"id\": \"webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n  \"resource\": \"webhook_endpoint\",\n  \"testmode\": false,\n  \"url\": \"https://merchant.example/webhooks/vatly-v2\",\n  \"createdAt\": \"2024-01-15T10:30:00Z\",\n  \"links\": {\n    \"self\": {\n      \"href\": \"https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH\",\n      \"type\": \"application/json\"\n    }\n  }\n}\n",[205,1939,1940,1944,1962,1980,1992,2010,2028,2040,2052,2070,2086,2090,2094],{"__ignoreMap":109},[450,1941,1942],{"class":452,"line":453},[450,1943,602],{"class":477},[450,1945,1946,1948,1950,1952,1954,1956,1958,1960],{"class":452,"line":471},[450,1947,607],{"class":477},[450,1949,269],{"class":610},[450,1951,614],{"class":477},[450,1953,617],{"class":477},[450,1955,478],{"class":477},[450,1957,641],{"class":460},[450,1959,614],{"class":477},[450,1961,646],{"class":477},[450,1963,1964,1966,1968,1970,1972,1974,1976,1978],{"class":452,"line":558},[450,1965,607],{"class":477},[450,1967,287],{"class":610},[450,1969,614],{"class":477},[450,1971,617],{"class":477},[450,1973,478],{"class":477},[450,1975,297],{"class":460},[450,1977,614],{"class":477},[450,1979,646],{"class":477},[450,1981,1982,1984,1986,1988,1990],{"class":452,"line":565},[450,1983,607],{"class":477},[450,1985,305],{"class":610},[450,1987,614],{"class":477},[450,1989,617],{"class":477},[450,1991,679],{"class":477},[450,1993,1994,1996,1998,2000,2002,2004,2006,2008],{"class":452,"line":649},[450,1995,607],{"class":477},[450,1997,320],{"class":610},[450,1999,614],{"class":477},[450,2001,617],{"class":477},[450,2003,478],{"class":477},[450,2005,1926],{"class":460},[450,2007,614],{"class":477},[450,2009,646],{"class":477},[450,2011,2012,2014,2016,2018,2020,2022,2024,2026],{"class":452,"line":668},[450,2013,607],{"class":477},[450,2015,334],{"class":610},[450,2017,614],{"class":477},[450,2019,617],{"class":477},[450,2021,478],{"class":477},[450,2023,715],{"class":460},[450,2025,614],{"class":477},[450,2027,646],{"class":477},[450,2029,2030,2032,2034,2036,2038],{"class":452,"line":682},[450,2031,607],{"class":477},[450,2033,348],{"class":610},[450,2035,614],{"class":477},[450,2037,617],{"class":477},[450,2039,733],{"class":477},[450,2041,2042,2044,2046,2048,2050],{"class":452,"line":702},[450,2043,849],{"class":477},[450,2045,359],{"class":456},[450,2047,614],{"class":477},[450,2049,617],{"class":477},[450,2051,733],{"class":477},[450,2053,2054,2056,2058,2060,2062,2064,2066,2068],{"class":452,"line":722},[450,2055,630],{"class":477},[450,2057,757],{"class":506},[450,2059,614],{"class":477},[450,2061,617],{"class":477},[450,2063,478],{"class":477},[450,2065,766],{"class":460},[450,2067,614],{"class":477},[450,2069,646],{"class":477},[450,2071,2072,2074,2076,2078,2080,2082,2084],{"class":452,"line":736},[450,2073,630],{"class":477},[450,2075,778],{"class":506},[450,2077,614],{"class":477},[450,2079,617],{"class":477},[450,2081,478],{"class":477},[450,2083,787],{"class":460},[450,2085,484],{"class":477},[450,2087,2088],{"class":452,"line":750},[450,2089,807],{"class":477},[450,2091,2092],{"class":452,"line":773},[450,2093,936],{"class":477},[450,2095,2096],{"class":452,"line":792},[450,2097,942],{"class":477},[361,2099],{},[196,2101,2103],{"id":2102},"delete-a-webhook-endpoint","Delete a webhook endpoint",[201,2105,2106],{},[205,2107,2108],{},"DELETE /v1/webhook-endpoints/:id",[201,2110,2111],{},"Deletes a webhook endpoint. Vatly stops sending deliveries to it immediately. To receive events again, register a new endpoint.",[236,2113,1402],{"id":2114},"parameters-1",[241,2116,2117,2127],{},[244,2118,2119],{},[247,2120,2121,2123,2125],{},[250,2122,252],{},[250,2124,255],{},[250,2126,258],{},[260,2128,2129],{},[247,2130,2131,2135,2139],{},[265,2132,2133],{},[205,2134,1423],{},[265,2136,2137],{},[205,2138,274],{},[265,2140,1430],{},[437,2142,2143,2171],{"sync":439},[441,2144,2146],{"className":443,"code":2145,"filename":445,"language":446,"meta":109,"style":109},"curl -X DELETE https://api.vatly.com/v1/webhook-endpoints/webhook_QdEpFhdSrG4Y3DnfsdqsH \\\n  -H \"Authorization: Bearer live_your_api_key_here\"\n",[205,2147,2148,2161],{"__ignoreMap":109},[450,2149,2150,2152,2154,2157,2159],{"class":452,"line":453},[450,2151,457],{"class":456},[450,2153,1782],{"class":460},[450,2155,2156],{"class":460}," DELETE",[450,2158,1444],{"class":460},[450,2160,468],{"class":467},[450,2162,2163,2165,2167,2169],{"class":452,"line":471},[450,2164,474],{"class":460},[450,2166,478],{"class":477},[450,2168,481],{"class":460},[450,2170,484],{"class":477},[441,2172,2174],{"className":487,"code":2173,"filename":489,"language":490,"meta":109,"style":109},"$vatly = new \\Vatly\\API\\VatlyApiClient();\n$vatly->setApiKey('live_your_api_key_here');\n\n$vatly->webhookEndpoints->delete('webhook_QdEpFhdSrG4Y3DnfsdqsH');\n",[205,2175,2176,2200,2220,2224],{"__ignoreMap":109},[450,2177,2178,2180,2182,2184,2186,2188,2190,2192,2194,2196,2198],{"class":452,"line":453},[450,2179,497],{"class":477},[450,2181,500],{"class":467},[450,2183,503],{"class":477},[450,2185,507],{"class":506},[450,2187,510],{"class":477},[450,2189,513],{"class":467},[450,2191,516],{"class":477},[450,2193,519],{"class":467},[450,2195,516],{"class":477},[450,2197,524],{"class":456},[450,2199,527],{"class":477},[450,2201,2202,2204,2206,2208,2210,2212,2214,2216,2218],{"class":452,"line":471},[450,2203,497],{"class":477},[450,2205,534],{"class":467},[450,2207,537],{"class":477},[450,2209,541],{"class":540},[450,2211,544],{"class":477},[450,2213,547],{"class":477},[450,2215,550],{"class":460},[450,2217,547],{"class":477},[450,2219,555],{"class":477},[450,2221,2222],{"class":452,"line":558},[450,2223,562],{"emptyLinePlaceholder":561},[450,2225,2226,2228,2230,2232,2234,2236,2239,2241,2243,2245,2247],{"class":452,"line":565},[450,2227,497],{"class":477},[450,2229,534],{"class":467},[450,2231,537],{"class":477},[450,2233,582],{"class":467},[450,2235,537],{"class":477},[450,2237,2238],{"class":540},"delete",[450,2240,544],{"class":477},[450,2242,547],{"class":477},[450,2244,641],{"class":460},[450,2246,547],{"class":477},[450,2248,555],{"class":477},[201,2250,2251,2252,2255],{},"Returns ",[205,2253,2254],{},"204 No Content"," on success.",[2257,2258,2259],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":109,"searchDepth":471,"depth":471,"links":2261},[2262,2265,2268,2271,2274,2277],{"id":198,"depth":471,"text":199,"children":2263},[2264],{"id":238,"depth":558,"text":239},{"id":365,"depth":471,"text":366,"children":2266},[2267],{"id":377,"depth":558,"text":378},{"id":947,"depth":471,"text":948,"children":2269},[2270],{"id":983,"depth":558,"text":984},{"id":1389,"depth":471,"text":1390,"children":2272},[2273],{"id":1401,"depth":558,"text":1402},{"id":1707,"depth":471,"text":1708,"children":2275},[2276],{"id":1728,"depth":558,"text":378},{"id":2102,"depth":471,"text":2103,"children":2278},[2279],{"id":2114,"depth":558,"text":1402},"Register and manage the endpoints Vatly delivers webhook events to — create, list, update, and delete them programmatically.","md",null,{},{"title":60,"description":2280},"dOgSq5HIrY4TKjtQpHW8-1ntM8jk6wZtUy64itKGEHw",[2287,2289],{"title":56,"path":57,"stem":58,"description":2288,"children":-1},"On this page, we'll dive into the different customer endpoints you can use to manage your Vatly customers programmatically.",{"title":64,"path":65,"stem":66,"description":2290,"children":-1},"Simulate subscription renewals in test mode so you can verify recurring billing flows end to end.",1783281128519]