{"id":11960,"date":"2023-08-05T09:02:08","date_gmt":"2023-08-05T09:02:08","guid":{"rendered":"https:\/\/wooshpay.com\/?post_type=docs&#038;p=11960"},"modified":"2023-08-09T07:32:19","modified_gmt":"2023-08-09T07:32:19","password":"","slug":"webhooks","status":"publish","type":"docs","link":"https:\/\/wooshpay.com\/zh\/docs\/webhooks\/","title":{"rendered":"\u7f51\u7edc\u94a9\u5b50"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"h-wooshpay-webhooks\">WooshPay \u7f51\u7edc\u94a9\u5b50<\/h2>\n\n\n\n<p>WooshPay \u4f7f\u7528\u7f51\u7edc\u94a9\u5b50\u5728\u60a8\u7684\u8d26\u6237\u53d1\u751f\u4e8b\u4ef6\u65f6\u901a\u77e5\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u7f51\u7edc\u94a9\u5b50\u5bf9\u5f02\u6b65\u4e8b\u4ef6\u7279\u522b\u6709\u7528\uff0c\u4f8b\u5982\u5f53\u5ba2\u6237\u7684\u94f6\u884c\u786e\u8ba4\u4ed8\u6b3e\u3001\u5ba2\u6237\u5bf9\u6536\u8d39\u63d0\u51fa\u5f02\u8bae\u6216\u6536\u53d6\u8ba2\u9605\u4ed8\u6b3e\u65f6\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7 API \u914d\u7f6e\u7f51\u7edc\u94a9\u5b50\u7aef\u70b9\uff0c\u4ee5\u83b7\u5f97\u4e8b\u4ef6\u901a\u77e5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-steps-to-create-and-receive-webhooks\">\u521b\u5efa\u548c\u63a5\u6536 Webhooks \u7684\u6b65\u9aa4<\/h2>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u672c\u8282\u4e2d\u7684\u6b65\u9aa4\u5f00\u59cb\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u63a5\u6536\u4e8b\u4ef6\u901a\u77e5\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u786e\u5b9a\u8981\u76d1\u63a7\u7684\u4e8b\u4ef6\u548c <a href=\"\/zh\/doc-1702652\/\">\u6d3b\u52a8<\/a> \u8981\u89e3\u6790\u7684\u6709\u6548\u8f7d\u8377\u3002<\/li>\n\n\n\n<li>\u5728\u672c\u5730\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u4e00\u4e2a Webhook \u7aef\u70b9\uff0c\u4f5c\u4e3a HTTP \u7aef\u70b9\uff08URL\uff09\u3002<\/li>\n\n\n\n<li>\u5904\u7406\u6765\u81ea WooshPay \u7684\u8bf7\u6c42\uff0c\u89e3\u6790\u6bcf\u4e2a\u4e8b\u4ef6\u5bf9\u8c61\u5e76\u8fd4\u56de&nbsp;<strong><code>2xx<\/code><\/strong>&nbsp;\u54cd\u5e94\u72b6\u6001\u4ee3\u7801\u3002<\/li>\n\n\n\n<li>\u90e8\u7f72 webhook \u7aef\u70b9\uff0c\u4f7f\u5176\u6210\u4e3a\u53ef\u516c\u5f00\u8bbf\u95ee\u7684 HTTPS URL\u3002<\/li>\n\n\n\n<li>\u901a\u8fc7 webhook \u5bf9\u8c61\u6ce8\u518c\u53ef\u516c\u5f00\u8bbf\u95ee\u7684 HTTPS URL\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-create-a-webhook-endpoint\">\u5982\u4f55\u521b\u5efa\u7f51\u7edc\u94a9\u5b50\u7aef\u70b9<\/h3>\n\n\n\n<p>\u521b\u5efa Webhook \u7aef\u70b9\u4e0e\u521b\u5efa\u7f51\u7ad9\u4e0a\u7684\u4efb\u4f55\u5176\u4ed6\u9875\u9762\u5e76\u65e0\u4e0d\u540c\u3002\u5b83\u662f\u670d\u52a1\u5668\u4e0a\u5e26\u6709 URL \u7684 HTTP \u6216 HTTPS \u7aef\u70b9\u3002\u5982\u679c\u4f60\u4ecd\u5728\u672c\u5730\u673a\u5668\u4e0a\u5f00\u53d1\u7aef\u70b9\uff0c\u5b83\u53ef\u4ee5\u662f HTTP \u7aef\u70b9\u3002\u5728\u516c\u5f00\u8bbf\u95ee\u540e\uff0c\u5b83\u5fc5\u987b\u662f HTTPS \u7aef\u70b9\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-identify-the-events-to-monitor\">\u6b65\u9aa4 1.\u786e\u5b9a\u8981\u76d1\u63a7\u7684\u4e8b\u4ef6<\/h3>\n\n\n\n<p>\u4f7f\u7528 API \u53c2\u8003\u6307\u5357\u6765\u786e\u5b9a Webhook \u7aef\u70b9\u9700\u8981\u89e3\u6790\u7684 Wooshpay \u4e8b\u4ef6\u53ca\u5176\u4e8b\u4ef6\u5bf9\u8c61\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-create-a-webhook\">\u6b65\u9aa4 2\uff1a <a href=\"\/zh\/api-42648310\/\">\u521b\u5efa\u7f51\u7edc\u94a9\u5b50<\/a><\/h3>\n\n\n\n<p>\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u8bbe\u7f6e\u4e00\u4e2a HTTP \u7aef\u70b9\uff0c\u8be5\u7aef\u70b9\u53ef\u63a5\u53d7\u4ee5 POST \u65b9\u6cd5\u53d1\u51fa\u7684\u672a\u7ecf\u8eab\u4efd\u9a8c\u8bc1\u7684\u7f51\u7edc\u94a9\u5b50\u8bf7\u6c42\u3002<\/p>\n\n\n\n<p><strong><em>\u8981\u6c42<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"url\"\uff1a\"https:\/\/apitest.wooshpay.com\/v1\/receives\"\u3001\n    \"description\"\uff08\u63cf\u8ff0\uff09\uff1a\"\u6211\u662f\u63cf\u8ff0\"\u3001\n    \"enabled_events\"\uff1a[\n        \"payment_intent.created\"\u3001\n        \"payment_intent.payment_failed\"\u3001\n        \"payment_intent.requires_action\"\u3001\n        \"payment_intent.succeeded\"\u3001\n        \"payment_intent.canceled\"\uff08\u53d6\u6d88\u4ed8\u6b3e\uff09\u3001\n        \"\u6536\u8d39.\u9000\u6b3e.\u66f4\u65b0\n    ],\n    \"api_version\"\uff1a\"1.0.1\"\n}<\/code><\/pre>\n\n\n\n<p><strong><em>\u56de\u5e94<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"we_1600745739909070848\",\n    \"\u5bf9\u8c61\"\uff1a\"webhook_endpoint\"\u3001\n    \"\u521b\u5efa\"\uff1a1670482499000,\n    \"description\"\uff1a\"\u6211\u662f\u63cf\u8ff0\"\u3001\n    \"\u5143\u6570\u636e\"\uff1a\u7a7a\n    \"secret\": \"c2tfdGVzdF9kR1Z6ZERwMFpYTjBNVEl6TkRVMjo=\"\u3001\n    \u72b6\u6001\"enabled\"\u3001\n    \"url\"\uff1a\"https:\/\/apitest.wooshpay.com\/v1\/receives\"\u3001\n    \"livemode\": false\u3001\n    \"api_version\"\uff1a\"1.0.1\",\n    \"enabled_events\"\uff1a[\n        \"payment_intent.created\"\u3001\n        \"payment_intent.payment_failed\"\u3001\n        \"payment_intent.requires_action\"\u3001\n        \"payment_intent.succeeded\"\u3001\n        \"payment_intent.canceled\"\uff08\u53d6\u6d88\u4ed8\u6b3e\uff09\u3001\n        \"charge.refund.updated\n    ]\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-handle-requests-from-wooshpay\">\u6b65\u9aa4 3\uff1a\u5904\u7406\u6765\u81ea WooshPay \u7684\u8bf7\u6c42<\/h3>\n\n\n\n<p>\u60a8\u7684\u7aef\u70b9\u5fc5\u987b\u914d\u7f6e\u4e3a\u8bfb\u53d6\u60a8\u5e0c\u671b\u63a5\u6536\u7684\u4e8b\u4ef6\u901a\u77e5\u7c7b\u578b\u7684\u4e8b\u4ef6\u5bf9\u8c61\u3002WooshPay \u5c06\u4e8b\u4ef6\u4f5c\u4e3a\u5e26\u6709 JSON \u6709\u6548\u8f7d\u8377\u7684 POST \u8bf7\u6c42\u7684\u4e00\u90e8\u5206\u53d1\u9001\u5230 webhook \u7aef\u70b9\u3002<\/p>\n\n\n\n<p><strong>\u8fd4\u56de 2xx \u54cd\u5e94<\/strong><br>\u5728\u8fdb\u884c\u4efb\u4f55\u53ef\u80fd\u5bfc\u81f4\u8d85\u65f6\u7684\u590d\u6742\u903b\u8f91\u4e4b\u524d\uff0c\u60a8\u7684\u7aef\u70b9\u5fc5\u987b\u5feb\u901f\u8fd4\u56de\u6210\u529f\u72b6\u6001\u4ee3\u7801 (2xx)\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-delivery-attempts-and-retries\">\u4ea4\u4ed8\u5c1d\u8bd5\u548c\u91cd\u8bd5<\/h2>\n\n\n\n<p>\u4e86\u89e3\u5982\u4f55\u67e5\u770b\u4ea4\u4ed8\u5c1d\u8bd5\u3001\u4e8b\u4ef6\u65e5\u5fd7\u4ee5\u53ca webhook \u4e8b\u4ef6\u672a\u88ab\u786e\u8ba4\u65f6\u7684\u91cd\u8bd5\u903b\u8f91\u3002<\/p>\n\n\n\n<p><strong>\u91cd\u8bd5\u903b\u8f91<\/strong><br>\u5728\u5b9e\u65f6\u548c\u6d4b\u8bd5\u6a21\u5f0f\u4e0b\uff0cWooshPay \u4f1a\u5c1d\u8bd5\u4ea4\u4ed8\u60a8\u7684\u7f51\u7edc\u94a9\u5b50\u957f\u8fbe 3 \u5929\uff0c\u5e76\u4ee5\u6307\u6570\u65b9\u5f0f\u8fdb\u884c\u540e\u9000\uff0c\u8fd9\u610f\u5473\u7740\u6211\u4eec\u5c06\u5728 72 \u5c0f\u65f6\u5185\u603b\u5171\u4ea4\u4ed8 18 \u6b21\u3002<\/p>\n\n\n\n<p><strong>\u5f85\u5904\u7406\u7684 Webhook \u903b\u8f91<\/strong><br>\u5728\u5b9e\u65f6\u548c\u6d4b\u8bd5\u6a21\u5f0f\u4e0b\uff0c\u5982\u679c\u7aef\u70b9\u672a\u54cd\u5e94 2xx HTTP \u72b6\u6001\u4ee3\u7801\uff0cWooshPay \u5c06\u5c1d\u8bd5\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u901a\u77e5\u60a8\u4efb\u4f55\u4e0d\u6210\u529f\u7684\u7f51\u7edc\u94a9\u5b50\u3002\u7535\u5b50\u90ae\u4ef6\u4e0d\u4ec5\u4f1a\u544a\u8bc9\u60a8\u65e0\u6cd5\u4ea4\u4ed8\u7684 URL\uff0c\u8fd8\u4f1a\u544a\u8bc9\u60a8\u6211\u4eec\u4f55\u65f6\u505c\u6b62\u4ea4\u4ed8\u7f51\u7edc\u94a9\u5b50\uff0c\u4ee5\u53ca\u60a8\u8054\u7cfb\u6211\u4eec\u7684\u6700\u4f73\u65b9\u5f0f\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>WooshPay Webhooks WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events. Steps [&hellip;]<\/p>","protected":false},"author":6,"featured_media":17289,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"doc_category":[316],"doc_tag":[324,323,319,328],"class_list":["post-11960","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-after-the-payments","doc_tag-open-api","doc_tag-payment","doc_tag-payment-flow","doc_tag-webhhoks"],"year_month":"2026-04","word_count":519,"total_views":"2234","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"zhaozixu","author_nicename":"zhaozixu","author_url":"https:\/\/wooshpay.com\/zh\/author\/zhaozixu\/"},"doc_category_info":[{"term_name":"After the payments","term_url":"https:\/\/wooshpay.com\/zh\/docs-category\/after-the-payments\/"}],"doc_tag_info":[{"term_name":"open api","term_url":"https:\/\/wooshpay.com\/zh\/docs-tag\/open-api\/"},{"term_name":"payment","term_url":"https:\/\/wooshpay.com\/zh\/docs-tag\/payment\/"},{"term_name":"Payment Flow","term_url":"https:\/\/wooshpay.com\/zh\/docs-tag\/payment-flow\/"},{"term_name":"webhhoks","term_url":"https:\/\/wooshpay.com\/zh\/docs-tag\/webhhoks\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.8 (Yoast SEO v24.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Webhook - WooshPay<\/title>\n<meta name=\"description\" content=\"WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wooshpay.com\/zh\/docs\/webhooks\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Webhook\" \/>\n<meta property=\"og:description\" content=\"WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wooshpay.com\/zh\/docs\/webhooks\/\" \/>\n<meta property=\"og:site_name\" content=\"WooshPay\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T07:32:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2138\" \/>\n\t<meta property=\"og:image:height\" content=\"1438\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/\",\"url\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/\",\"name\":\"Webhook - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\",\"datePublished\":\"2023-08-05T09:02:08+00:00\",\"dateModified\":\"2023-08-09T07:32:19+00:00\",\"description\":\"WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events.\",\"breadcrumb\":{\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage\",\"url\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\",\"contentUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\",\"width\":2138,\"height\":1438},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.wooshpay.com\/zh\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/wooshpay.com\/fr\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Webhook\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\",\"url\":\"https:\/\/www.wooshpay.com\/zh\/\",\"name\":\"WooshPay\",\"description\":\"One-stop payment platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wooshpay.com\/zh\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-CN\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u7f51\u7edc\u94a9\u5b50 - WooshPay","description":"WooshPay \u4f7f\u7528\u7f51\u7edc\u94a9\u5b50\u5728\u60a8\u7684\u8d26\u6237\u53d1\u751f\u4e8b\u4ef6\u65f6\u901a\u77e5\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u7f51\u7edc\u94a9\u5b50\u5bf9\u5f02\u6b65\u4e8b\u4ef6\u7279\u522b\u6709\u7528\uff0c\u4f8b\u5982\u5f53\u5ba2\u6237\u7684\u94f6\u884c\u786e\u8ba4\u4ed8\u6b3e\u3001\u5ba2\u6237\u5bf9\u6536\u8d39\u63d0\u51fa\u5f02\u8bae\u6216\u6536\u53d6\u8ba2\u9605\u4ed8\u6b3e\u65f6\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7 API \u914d\u7f6e\u7f51\u7edc\u94a9\u5b50\u7aef\u70b9\uff0c\u4ee5\u83b7\u5f97\u4e8b\u4ef6\u901a\u77e5\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wooshpay.com\/zh\/docs\/webhooks\/","og_locale":"zh_CN","og_type":"article","og_title":"Webhook","og_description":"WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events.","og_url":"https:\/\/wooshpay.com\/zh\/docs\/webhooks\/","og_site_name":"WooshPay","article_modified_time":"2023-08-09T07:32:19+00:00","og_image":[{"width":2138,"height":1438,"url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/","url":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/","name":"\u7f51\u7edc\u94a9\u5b50 - WooshPay","isPartOf":{"@id":"https:\/\/www.wooshpay.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage"},"image":{"@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage"},"thumbnailUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","datePublished":"2023-08-05T09:02:08+00:00","dateModified":"2023-08-09T07:32:19+00:00","description":"WooshPay \u4f7f\u7528\u7f51\u7edc\u94a9\u5b50\u5728\u60a8\u7684\u8d26\u6237\u53d1\u751f\u4e8b\u4ef6\u65f6\u901a\u77e5\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u7f51\u7edc\u94a9\u5b50\u5bf9\u5f02\u6b65\u4e8b\u4ef6\u7279\u522b\u6709\u7528\uff0c\u4f8b\u5982\u5f53\u5ba2\u6237\u7684\u94f6\u884c\u786e\u8ba4\u4ed8\u6b3e\u3001\u5ba2\u6237\u5bf9\u6536\u8d39\u63d0\u51fa\u5f02\u8bae\u6216\u6536\u53d6\u8ba2\u9605\u4ed8\u6b3e\u65f6\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7 API \u914d\u7f6e\u7f51\u7edc\u94a9\u5b50\u7aef\u70b9\uff0c\u4ee5\u83b7\u5f97\u4e8b\u4ef6\u901a\u77e5\u3002","breadcrumb":{"@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wooshpay.com\/ko\/docs\/webhooks\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#primaryimage","url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","contentUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","width":2138,"height":1438},{"@type":"BreadcrumbList","@id":"https:\/\/wooshpay.com\/ko\/docs\/webhooks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wooshpay.com\/zh\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/wooshpay.com\/fr\/docs\/"},{"@type":"ListItem","position":3,"name":"Webhook"}]},{"@type":"WebSite","@id":"https:\/\/www.wooshpay.com\/zh\/#website","url":"https:\/\/www.wooshpay.com\/zh\/","name":"WooshPay","description":"\u4e00\u7ad9\u5f0f\u652f\u4ed8\u5e73\u53f0","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wooshpay.com\/zh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CN"}]}},"uagb_featured_image_src":{"full":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png",2138,1438,false],"thumbnail":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-150x150.png",150,150,true],"medium":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-300x202.png",300,202,true],"medium_large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-768x517.png",768,517,true],"large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-1024x689.png",1024,689,true],"1536x1536":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-1536x1033.png",1536,1033,true],"2048x2048":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-2048x1377.png",2048,1377,true],"trp-custom-language-flag":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2-18x12.png",18,12,true]},"uagb_author_info":{"display_name":"zhaozixu","author_link":"https:\/\/wooshpay.com\/zh\/author\/zhaozixu\/"},"uagb_comment_info":0,"uagb_excerpt":"WooshPay Webhooks WooshPay uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a customer\u2019s bank confirms a payment, a customer disputes a charge, or when collecting subscription payments. You can configure webhook endpoints via the API to be notified about events. Steps&hellip;","_links":{"self":[{"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/docs\/11960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/comments?post=11960"}],"version-history":[{"count":0,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/docs\/11960\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/media\/17289"}],"wp:attachment":[{"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/media?parent=11960"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/doc_category?post=11960"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wooshpay.com\/zh\/wp-json\/wp\/v2\/doc_tag?post=11960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}