{"id":12046,"date":"2023-08-08T12:02:40","date_gmt":"2023-08-08T12:02:40","guid":{"rendered":"https:\/\/wooshpay.com\/?post_type=docs&#038;p=12046"},"modified":"2023-08-09T07:32:19","modified_gmt":"2023-08-09T07:32:19","password":"","slug":"wechat-pay","status":"publish","type":"docs","link":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wechat-pay\/","title":{"rendered":"\u5fae\u4fe1\u652f\u4ed8"},"content":{"rendered":"<h3 class=\"wp-block-heading\" id=\"h-learn-about-wechat-pay-a-digital-wallet-popular-with-customers-from-china\"><strong>\u4e86\u89e3\u6df1\u53d7\u4e2d\u56fd\u5ba2\u6237\u6b22\u8fce\u7684\u6570\u5b57\u94b1\u5305--\u5fae\u4fe1\u652f\u4ed8\u3002<\/strong><\/h3>\n\n\n\n<p>\u5fae\u4fe1\u652f\u4ed8\u662f\u96c6\u6210\u5728\u4e2d\u56fd\u6d41\u884c\u7684\u8d85\u7ea7\u5e94\u7528\u5fae\u4fe1\u4e2d\u7684\u6570\u5b57\u94b1\u5305\u3002\u591a\u5e74\u6765\uff0c\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u4f01\u4e1a\u4e0e\u56fd\u5185\u5916\u4e2d\u56fd\u6d88\u8d39\u8005\u5efa\u7acb\u8054\u7cfb\u7684\u91cd\u8981\u652f\u4ed8\u89e3\u51b3\u65b9\u6848\uff0c\u5df2\u83b7\u5f97\u4e86\u663e\u8457\u7684\u5730\u4f4d\u3002\u5fae\u4fe1\u5df2\u8f6c\u53d8\u4e3a\u4e00\u4e2a\u7efc\u5408\u751f\u6001\u7cfb\u7edf\uff0c\u4e3a\u4e2d\u56fd\u8d2d\u7269\u8005\u63d0\u4f9b\u4e86\u804a\u5929\u3001\u6d4f\u89c8\u4ea7\u54c1\u6216\u670d\u52a1\u4ee5\u53ca\u5728\u7edf\u4e00\u5e73\u53f0\u5185\u65e0\u7f1d\u652f\u4ed8\u7684\u4fbf\u5229\u3002\u8fd9\u79cd\u6574\u5408\u4f7f\u8d2d\u7269\u4f53\u9a8c\u53d8\u5f97\u8f7b\u677e\u81ea\u5982\uff0c\u5c31\u50cf\u4e0e\u540c\u4f34\u5728\u4e00\u4e2a\u5730\u65b9\u8fdb\u884c\u53cb\u597d\u4ea4\u8c08\u4e00\u6837\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-features\">\u7279\u70b9<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u5ba2\u6237\u6240\u5728\u5730<\/th><th>\u4e2d\u56fd\u6d88\u8d39\u8005<br>\u6d77\u5916\u534e\u4eba<br>\u4e2d\u56fd\u6e38\u5ba2<\/th><\/tr><\/thead><tbody><tr><td>\u5904\u7406\u8d27\u5e01<\/td><td>CNY, GBP, USD, EUR, HKD<\/td><\/tr><tr><td>\u7ed3\u7b97\u8d27\u5e01<\/td><td>\u82f1\u9551\u3001\u6b27\u5143\u3001\u7f8e\u5143\u3001\u6e2f\u5143<\/td><\/tr><tr><td>\u6700\u4f4e\u4ea4\u6613\u91d1\u989d<\/td><td>\u65e0\u9650\u5236<\/td><\/tr><tr><td>\u6700\u9ad8\u4ea4\u6613\u91d1\u989d<\/td><td>50,000 \u7f8e\u5143<\/td><\/tr><tr><td>\u9000\u6b3e<\/td><td>\u2705<\/td><\/tr><tr><td>\u90e8\u5206\u9000\u6b3e<\/td><td>\u2705<\/td><\/tr><tr><td>\u591a\u6b21\u90e8\u5206\u9000\u6b3e<\/td><td>\u2705<\/td><\/tr><tr><td>\u6263\u6b3e<\/td><td>\u274c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-subproducts\">\u6b21\u7ea7\u4ea7\u54c1<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>\u4ed8\u6b3e\u6848\u4f8b<\/strong><\/th><th><strong>\u4ea7\u54c1<\/strong><\/th><th><strong>\u4ed8\u6b3e\u65b9\u6848\u8bf4\u660e<\/strong><\/th><\/tr><\/thead><tbody><tr><td><strong>QR \u7801<\/strong><\/td><td><strong>\u7f51\u7edc\u652f\u4ed8<\/strong><\/td><td>\u5728\u684c\u9762\u6d4f\u89c8\u5668\u4e0a\uff0c\u9009\u62e9\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u5546\u5bb6\u7ed3\u8d26\u7684\u652f\u4ed8\u65b9\u5f0f\u540e\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u4e8c\u7ef4\u7801\u3002\u7136\u540e\uff0c\u8d2d\u7269\u8005\u6253\u5f00\u624b\u673a\u4e0a\u7684\u5fae\u4fe1\u5e94\u7528\u7a0b\u5e8f\uff0c\u626b\u63cf\u6d4f\u89c8\u5668\u9875\u9762\u4e0a\u663e\u793a\u7684\u6761\u5f62\u7801\u5373\u53ef\u5b8c\u6210\u652f\u4ed8\u3002<\/td><\/tr><tr><td><strong>QR \u7801<\/strong><\/td><td><strong>\u5feb\u901f\u652f\u4ed8<\/strong><\/td><td>\u5728\u9500\u552e\u70b9\uff0c\u5546\u5bb6\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e0a\u663e\u793a\u4e8c\u7ef4\u7801\uff0c\u987e\u5ba2\u53ef\u4ee5\u6253\u5f00\u624b\u673a\u4e0a\u7684\u5fae\u4fe1\u5e94\u7528\u7a0b\u5e8f\u626b\u63cf\u4e8c\u7ef4\u7801\u5b8c\u6210\u652f\u4ed8\u3002<\/td><\/tr><tr><td><strong>\u79fb\u52a8 H5 \u6d41\u91cf<\/strong><\/td><td><strong>H5 \u4ed8\u6b3e<\/strong><\/td><td>\u5728\u624b\u673a\u6d4f\u89c8\u5668\u4e0a\uff0c\u8d2d\u7269\u8005\u5728\u5546\u5bb6\u7ed3\u8d26\u65f6\u9009\u62e9\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u652f\u4ed8\u65b9\u5f0f\uff0c\u5e76\u4ece\u6d4f\u89c8\u5668\u8df3\u8f6c\u5230\u5fae\u4fe1\u652f\u4ed8\u5e94\u7528\u5b8c\u6210\u652f\u4ed8\uff0c\u7136\u540e\u518d\u8df3\u8f6c\u56de\u5546\u5bb6\u6d4f\u89c8\u5668\u3002<\/td><\/tr><tr><td><strong>\u624b\u673a - \u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d<\/strong><\/td><td><strong>\u5b98\u65b9\u8d26\u6237<\/strong><\/td><td>\u5546\u5bb6\u53ef\u4ee5\u8003\u8651\u5728\u5fae\u4fe1\u793e\u4ea4\u7f51\u7ad9\u4e0a\u5efa\u7acb\u4e00\u4e2a\u4e2a\u4eba\u4e3b\u9875\uff0c\u63d0\u793a\u8d2d\u7269\u8005\u5728\u5fae\u4fe1\u793e\u4ea4\u7f51\u7ad9\u73af\u5883\u4e2d\u9009\u62e9\u4ea7\u54c1\u5e76\u5b8c\u6210\u652f\u4ed8\u3002<\/td><\/tr><tr><td><strong>\u624b\u673a - \u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d<\/strong><\/td><td><strong>\u8ff7\u4f60\u8ba1\u5212<\/strong><\/td><td>\u5c0f\u7a0b\u5e8f\u662f\u5bf9\u5b98\u65b9\u8d26\u6237\u7684\u53e6\u4e00\u79cd\u521b\u65b0\uff0c\u5b83\u5c31\u50cf\u5fae\u4fe1\u793e\u4ea4\u7f51\u7ad9\u4e2d\u7684\u4e00\u4e2a\u7f51\u7ad9\uff0c\u5546\u5bb6\u53ef\u4ee5\u5728\u5176\u4e2d\u8fdb\u884c\u66f4\u591a\u5b9a\u5236\uff0c\u8d2d\u7269\u8005\u53ef\u4ee5\u5728\u8be5\u73af\u5883\u4e2d\u9009\u62e9\u4ea7\u54c1\u5e76\u5b8c\u6210\u652f\u4ed8\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-payment-flow\">\u4ed8\u6b3e\u6d41\u7a0b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-qr-code\">QR \u7801<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.apifox.cn\/api\/v1\/projects\/1296482\/resources\/386271\/image-preview\" alt=\"pic_QR Code.png\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-mobile-h5-flows\">\u79fb\u52a8 H5 \u6d41\u91cf<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.apifox.cn\/api\/v1\/projects\/1296482\/resources\/386272\/image-preview\" alt=\"pic_Mobile H5 Flows.png\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-mobile-in-wechat-app\">\u624b\u673a - \u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.apifox.cn\/api\/v1\/projects\/1296482\/resources\/386273\/image-preview\" alt=\"pic_Mobile - \u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d.png\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-integration-method\"><strong>\u6574\u5408\u65b9\u6cd5<\/strong><\/h2>\n\n\n\n<p><strong>\u4ed8\u6b3e\u65b9\u5f0f\u679a\u4e3e\u503c\uff1a<\/strong> <strong><code>\u5fae\u4fe1\u652f\u4ed8<\/code><\/strong><\/p>\n\n\n\n<p><strong>\u5fae\u4fe1\u652f\u4ed8\u6709\u4e24\u79cd\u96c6\u6210\u65b9\u5f0f<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/li>\n\n\n\n<li>\u7ed3\u8d26<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>\u6574\u5408\u65b9\u6cd5<\/strong><\/th><th><strong>\u5fae\u4fe1\u652f\u4ed8\u5b50\u4ea7\u54c1<\/strong><\/th><th><strong>\u7ec8\u7aef\u7c7b\u578b\u679a\u4e3e\u503c<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/td><td>\u7f51\u7edc\u652f\u4ed8<\/td><td>\u7f51\u7edc<\/td><\/tr><tr><td>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/td><td>\u5feb\u901f\u652f\u4ed8<\/td><td>\u626b\u63cf\u4ee3\u7801<\/td><\/tr><tr><td>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/td><td>H5 \u4ed8\u6b3e<\/td><td>WAP<\/td><\/tr><tr><td>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/td><td>\u6b63\u5f0f\u8d26\u6237\u4ed8\u6b3e<\/td><td>\u5b98\u65b9\u8d26\u6237<\/td><\/tr><tr><td>\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/td><td>\u8ff7\u4f60\u8ba1\u5212<\/td><td>\u8ff7\u4f60\u7a0b\u5e8f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>\u6574\u5408\u65b9\u6cd5<\/strong><\/th><th><strong>\u5fae\u4fe1\u652f\u4ed8\u5b50\u4ea7\u54c1<\/strong><\/th><th><strong>\u7ec8\u7aef\u7c7b\u578b\u679a\u4e3e\u503c<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\u7ed3\u8d26<\/td><td>\u7f51\u7edc\u652f\u4ed8<\/td><td>\u7ed3\u8d26\u65f6\u65e0\u9700\u8bc6\u522b\u7ec8\u7aef\u7c7b\u578b\u3002\u7ed3\u8d26\u65f6\uff0c\u7cfb\u7edf\u4f1a\u6839\u636e\u7528\u6237\u7684\u8bbe\u5907\u81ea\u52a8\u751f\u6210\u4e8c\u7ef4\u7801\u6216\u91cd\u5b9a\u5411\u5230\u5fae\u4fe1\u5e94\u7528\u7a0b\u5e8f\u3002<\/td><\/tr><tr><td>\u7ed3\u8d26<\/td><td>H5 \u4ed8\u6b3e<\/td><td>\u7ed3\u8d26\u65f6\u65e0\u9700\u8bc6\u522b\u7ec8\u7aef\u7c7b\u578b\u3002\u7ed3\u8d26\u65f6\uff0c\u7cfb\u7edf\u4f1a\u6839\u636e\u7528\u6237\u7684\u8bbe\u5907\u81ea\u52a8\u751f\u6210\u4e8c\u7ef4\u7801\u6216\u91cd\u5b9a\u5411\u5230\u5fae\u4fe1\u5e94\u7528\u7a0b\u5e8f\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-direct-api\">\u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/h2>\n\n\n\n<p>PaymentIntent \u662f\u4e00\u4e2a\u5bf9\u8c61\uff0c\u4ee3\u8868\u60a8\u5411\u5ba2\u6237\u6536\u6b3e\u7684\u610f\u56fe\uff0c\u5e76\u8ddf\u8e2a\u4ed8\u6b3e\u6d41\u7a0b\u7684\u751f\u547d\u5468\u671f\u3002\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa PaymentIntent\uff0c\u5e76\u6307\u5b9a\u6536\u6b3e\u91d1\u989d\u548c\u652f\u6301\u7684\u8d27\u5e01\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-create-a-paymentintent\"><a href=\"\/zh\/api-42631218\/\">\u521b\u5efa PaymentIntent<\/a><\/h3>\n\n\n\n<p>\u8981\u76f4\u63a5\u96c6\u6210 API\uff0c\u53ea\u9700\u4e00\u6b65\u5373\u53ef\u521b\u5efa PaymentIntent \u5e76\u83b7\u53d6 url\u3002\u4ee5\u4e0b\u662f\u521b\u5efa\u4ed8\u6b3e\u610f\u56fe\u7684\u6f14\u793a\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u7f51\u7edc\u652f\u4ed8<\/li>\n\n\n\n<li>H5 \u4ed8\u6b3e<\/li>\n\n\n\n<li>\u5feb\u901f\u652f\u4ed8<\/li>\n\n\n\n<li>\u6b63\u5f0f\u8d26\u6237\u4ed8\u6b3e<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-web-payment\"><strong>\u7f51\u7edc\u652f\u4ed8<\/strong><\/h4>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u91d1\u989d\":20\u3001\n    \"\u8d27\u5e01\": \"\u4eba\u6c11\u5e01\n    \"\u786e\u8ba4\":true\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\":{\n        \"\u5fae\u4fe1\u652f\u4ed8\":{\n            \"terminal_type\": \"WEB\"\u3001\n            \"os_type\": \"IOS\"\u3001\n            \"client_ip\":\"192.168.0.1\"\n            }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a{\n        \"\u7c7b\u578b\": \"\u5fae\u4fe1\u652f\u4ed8\n    },\n\"return_url\": \"https:\/\/wooshpay.com\"\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"pi_1666625039547498496\",\n    \"\u5bf9\u8c61\"\uff1a\"payment_intent\"\u3001\n    \"\u521b\u5efa\"\uff1a1686189348000,\n    \"livemode\": false\u3001\n    \"currency\"\uff1a\"CNY\"\u3001\n    \"\u91d1\u989d\"\uff1a20,\n    \"status\"\uff1a\"requires_action\"\u3001\n    \"client_secret\": \"pi_1666625039547498496_secret_qGj2VEg4khXSWkXvRI7Y3yZe\",\n    \"next_action\"\uff1a{\n        \"type\"\uff1a\"wechat_pay_display_qr_code\"\u3001\n        \"wechat_pay_display_qr_code\"\uff1a{\n            \"image_data_url\"\uff1a\"weixin:\/\/wxpay\/bizpayurl?pr=lJhTByDzz\"\u3002\n        }\n    },\n    \"payment_method_types\"\uff1a[\n        \"wechat_pay\"\u3001\n    ],\n    \"\u786e\u8ba4\u65b9\u5f0f\"\uff1a\"\u81ea\u52a8\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a {{\n            \"terminal_type\"\uff1a\"WEB\"\u3001\n            \"os_type\"\uff1a\"IOS\"\u3001\n            \"client_ip\"\uff1a\"192.168.0.1\"\n        }\n    },\n    \"return_url\"\uff1a\"https:\/\/wooshpay.com\"\u3001\n    \"payment_method\"\uff1a\"pm_1666625039430057984\",\n    \"capture_method\"\uff1a\u81ea\u52a8\n}<\/code><\/pre>\n\n\n\n<p>\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <code>\u56fe\u50cf\u6570\u636eURL<\/code> \u4ece <code>\u5fae\u4fe1\u652f\u4ed8\u663e\u793a QR \u4ee3\u7801<\/code> \u4ece <code>\u4e0b\u4e00\u4e2a\u884c\u52a8<\/code> \u53ef\u4ee5\u6253\u5f00\uff0c\u4ece\u94fe\u63a5\u4e2d\uff0c\u5546\u5bb6\u53ef\u4ee5\u751f\u6210\u76f8\u5e94\u7684\u4e8c\u7ef4\u7801\u3002\u7136\u540e\u4f7f\u7528\u76f8\u5e94\u7684\u4e8c\u7ef4\u7801\u8fdb\u884c\u6536\u8d39\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-h5-payment\"><strong>H5 \u4ed8\u6b3e<\/strong><\/h4>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u91d1\u989d\"\uff1a20,\n    \"\u8d27\u5e01\"\uff1a\"CNY\"\u3001\n    \"\u786e\u8ba4\": true\u3001\n    \"payment_method_options\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a{\n            \"terminal_type\"\uff1a\"WAP\"\u3001\n            \"client_ip\"\uff1a\"192.168.124.133\" \/\/\u5ba2\u6237\u624b\u673a\u7684 IP \u5730\u5740\n        }\n    },\n    \"payment_method_data\"\uff1a{\n        \"type\"\uff1a\"\u5fae\u4fe1\u652f\u4ed8\"\n    },\n    \"return_url\"\uff1a\"\u60a8\u7684\u7f51\u7ad9\"\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\": \"pi_1666625208749916160\",\n    \"object\": \"payment_intent\",\n    \"created\": 1686189389000,\n    \"livemode\": false,\n    \"currency\": \"CNY\",\n    \"amount\": 20,\n    \"status\": \"requires_action\",\n    \"client_secret\": \"pi_1666625208749916160_secret_BeEXcbvAQNUkrV9C6ZFjOamS\",\n    \"next_action\": {\n        \"type\": \"wechat_pay_redirect_to_web\",\n        \"wechat_pay_redirect_to_web\": {\n            \"url\": \"https:\/\/wx.tenpay.com\/cgi-bin\/mmpayweb-bin\/checkmweb?prepay_id=wx08095629694611f41b32df91d6ea160000&amp;package=3449031350&amp;redirect_url=https%3A%2F%2Fwooshpay.com\"\n        }\n    },\n    \"payment_method_types\": &#91;\n        \"wechat_pay\"\n    ],\n    \"confirmation_method\": \"automatic\",\n    \"payment_method_options\": {\n        \"wechat_pay\": {\n            \"terminal_type\": \"WAP\",\n            \"os_type\": \"IOS\",\n            \"client_ip\": \"172.31.5.62\"\n        }\n    },\n    \"return_url\": \"https:\/\/wooshpay.com\",\n    \"payment_method\": \"pm_1666625208624087040\",\n    \"capture_method\": \"automatic\"\n}<\/code><\/pre>\n\n\n\n<p>\"(\u300a\u4e16\u754c\u4eba\u6743\u5ba3\u8a00\u300b) <code>\u7f51\u5740<\/code> \u4ece <code>\u5fae\u4fe1\u652f\u4ed8\u91cd\u5b9a\u5411\u5230\u7f51\u7edc<\/code> \u4ece <code>\u4e0b\u4e00\u4e2a\u884c\u52a8<\/code> \u53ef\u4ee5\u6253\u5f00\uff0c\u4ece\u94fe\u63a5\u4e2d\uff0c\u5ba2\u6237\u5c06\u76f4\u63a5\u8fdb\u5165\u5fae\u4fe1 APP \u8fdb\u884c\u652f\u4ed8\uff0c\u5e76\u76f4\u63a5\u5230 <code>return_url<\/code> \u4ed8\u6b3e\u540e\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-quick-pay\"><strong>\u5feb\u901f\u652f\u4ed8<\/strong><\/h4>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u91d1\u989d\":10\u3001\n    \"\u8d27\u5e01\": \"\u4eba\u6c11\u5e01\n    \"\u786e\u8ba4\":true\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\":{\n        \"\u5fae\u4fe1\u652f\u4ed8\":{\n            \"terminal_type\": \"SCAN_CODE\"\u3001\n            \"os_type\": \"IOS\"\u3001\n            \"client_ip\":\"192.168.0.1\"\n            }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a{\n        \"type\": \"wechat_pay\"\u3001\n        \"\u5fae\u4fe1\u652f\u4ed8\":{\n            \"payment_code\":\"132993614656096754\"\n        }\n    },\n    \"return_url\": \"https:\/\/yourweb.com\"\u3002\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"pi_1666627489012645888\",\n    \"\u5bf9\u8c61\"\uff1a\"payment_intent\"\u3001\n    \"\u521b\u5efa\"\uff1a1686189932000,\n    \"livemode\": false\u3001\n    \"\u8d27\u5e01\"\uff1a\"CNY\"\u3001\n    \"\u91d1\u989d\"\uff1a10,\n    \"status\"\uff1a\"requires_action\"\u3001\n    \"client_secret\": \"pi_1666627489012645888_secret_t6oeKYYGb9egt3koNMsntfSg\",\n    \"payment_method_types\"\uff1a[\n        \"\u5fae\u4fe1\u652f\u4ed8\n    ],\n    \"\u786e\u8ba4\u65b9\u5f0f\"\u81ea\u52a8\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a {{\n            \"terminal_type\"\uff1a\"SCAN_CODE\"\u3001\n            \"os_type\"\uff1a\"IOS\"\u3001\n            \"client_ip\"\uff1a\"192.168.0.1\"\n        }\n    },\n    \"return_url\"\uff1a\"https:\/\/yourweb.com\"\u3001\n    \"payment_method\"\uff1a\"pm_1666627488878428160\",\n    \"capture_method\"\uff1a\u81ea\u52a8\n}<\/code><\/pre>\n\n\n\n<p>\u514d\u5bc6\u7801\u652f\u4ed8\u53ef\u4ee5\u76f4\u63a5\u652f\u4ed8\uff0c\u5426\u5219\u5ba2\u6237\u9700\u8981\u5728\u624b\u673a\u4e0a\u8f93\u5165\u5bc6\u7801\u3001\u6307\u7eb9\u7b49\u8fdb\u884c\u652f\u4ed8\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-official-account-payment\"><strong>\u6b63\u5f0f\u8d26\u6237\u4ed8\u6b3e<\/strong><\/h4>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u91d1\u989d\"\uff1a20,\n    \"\u8d27\u5e01\"\uff1a\"CNY\"\u3001\n    \"\u786e\u8ba4\": true\u3001\n    \"payment_method_options\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a{\n            \"terminal_type\"\uff1a\"official_account\"\u3001\n            \"\u5ba2\u6237\u7aef IP\"192.168.0.1\",\n            \"openid\"\uff1a\"\"\n        }\n    },\n    \"payment_method_data\"\uff1a{\n        \"type\"\uff1a\"\u5fae\u4fe1\u652f\u4ed8\n    }\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"pi_1666626536515567616\",\n    \"\u5bf9\u8c61\"\uff1a\"payment_intent\"\u3001\n    \"\u521b\u5efa\"\uff1a1686189705000,\n    \"livemode\": false\u3001\n    \"currency\"\uff1a\"CNY\"\u3001\n    \"\u91d1\u989d\"\uff1a20,\n    \"status\"\uff1a\"requires_payment_method\"\u3001\n    \"client_secret\": \"pi_1666626536515567616_secret_CcrukFKgxbPp7UEAxodLlNRD\",\n    \"last_payment_error\"\uff1a{\n        \"\u4ee3\u7801\"\uff1a\"payment_method_provider_decline\"\u3001\n        \"\u4fe1\u606f\"\uff1a\"\u670d\u52a1\u9519\u8bef\u3002\u8bf7\u91cd\u8bd5\u3002\"\u3001\n        \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a{\n            \"id\"\uff1a\"pm_1666626536389738496\",\n            \"\u5bf9\u8c61\"\uff1a\"payment_method\"\u3001\n            \"\u521b\u5efa\"\uff1a1686189705000,\n            \"livemode\": false\u3001\n            \"\u7c7b\u578b\"\uff1a\"\u5fae\u4fe1\u652f\u4ed8\"\u3001\n            \"\u8d26\u5355\u8be6\u60c5\"\uff1a{}\n        },\n        \"decline_code\"\uff1a\"invalid_request_error\" }.\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u7c7b\u578b\"\uff1a[\n        \"\u5fae\u4fe1\u652f\u4ed8\n    ],\n    \"\u786e\u8ba4\u65b9\u5f0f\"\uff1a\"\u81ea\u52a8\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a {{\n            \"openid\"\uff1a\"\",\n            \"\u7ec8\u7aef\u7c7b\u578b\"\uff1a\"official_account\"\u3001\n            \"client_ip\"\uff1a\"192.168.0.1\"\n        }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a\"pm_1666626536389738496\",\n    \"\u6355\u83b7\u65b9\u6cd5\"\uff1a\"\u81ea\u52a8\" }\n}<\/code><\/pre>\n\n\n\n<p><code>\u5fae\u4fe1\u652f\u4ed8\u5b98\u65b9\u8d26\u6237\u53c2\u6570<\/code> \u4ece <code>\u4e0b\u4e00\u4e2a\u884c\u52a8<\/code> \u5305\u542b\u4e00\u4e9b\u9700\u8981\u5728\u524d\u7aef\u4f7f\u7528\u7684\u53c2\u6570\u3002\u4e0b\u9762\u4e3e\u4f8b\u8bf4\u660e\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u53c2\u6570\u3002 <em>js<\/em> <em>\u8303\u4f8b<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function onBridgeReady(){\n WeixinJSBridge.invoke(\n   'getBrandWCPayRequest', {\n     \"appId\":\"wx7a154c094f74e84f\",      \n     \"timeStamp\":\"1682239457\",        \n     \"nonceStr\":\"kLRl3fI6FiP8PXxNNAiytwuQBdoCWXvZ\",     \n     \"package\":\"prepay_id=wx23164417189051acf8825c57d275230000\",     \n     \"signType\":\"MD5\",     \n     \"paySign\":\"703868ed93842f83c9dff4d80d0cad67\"  \n    },\n    function(res){     \n       if(res.err_msg == \"get_brand_wcpay_request:ok\" ) {}     \/\/ Using the above method to judge the front-end return, the WeChat team solemnly reminds: res.err_msg will return ok after the user's payment is successful, but it does not guarantee that it is absolutely reliable. \n       }\n   ); \n}\nif (typeof WeixinJSBridge == \"undefined\"){\n   if( document.addEventListener ){\n    document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);\n   }else if (document.attachEvent){\n    document.attachEvent('WeixinJSBridgeReady', onBridgeReady); \n    document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);\n   }\n}else{\n   onBridgeReady();\n} <\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-mini-program\"><strong>\u8ff7\u4f60\u8ba1\u5212<\/strong><\/h4>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u91d1\u989d\"\uff1a20,\n    \"currency\"\uff1a\"GBP\"\u3001\n    \"\u786e\u8ba4\": true\u3001\n    \"payment_method_options\"\uff1a{\n        \"wechat_pay\"\uff1a{\n            \"terminal_type\"\uff1a\"mini_program\"\u3001\n            \"client_ip\"\uff1a\"192.168.0.1\",\n            \"openid\"\uff1a\"ojt**********QnCY\"\n        }\n    },\n    \"payment_method_data\"\uff1a{\n        \"type\"\uff1a\"\u5fae\u4fe1\u652f\u4ed8\n    }\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"pi_1684807723566235648\",\n    \"\u5bf9\u8c61\"\uff1a\"payment_intent\"\u3001\n    \"\u521b\u5efa\"\uff1a1690524438000,\n    \"livemode\": true\u3001\n    \"currency\"\uff1a\"GBP\"\u3001\n    \"\u91d1\u989d\"\uff1a20,\n    \"status\"\uff1a\"requires_action\"\u3001\n    \"client_secret\": \"pi_1684807723566235648_secret_V3rhLjnidzwNnc7UomZJzzxc\",\n    \"next_action\"\uff1a{\n        \"type\"\uff1a\"wechat_pay_mini_program_params\"\u3001\n        \"wechat_pay_mini_program_params\"\uff1a{\n            \"appId\"\uff1a\"***********\",\n            \"timeStamp\"\uff1a\"1690524439\",\n            \"nonceStr\"\uff1a\"VVdQaFzG9LjOSNyGNLFbt7NZAn2oE87z\"\u3001\n            \"signType\"\uff1a\"MD5\"MD5\"\u3001\n            \"paySign\"\uff1a\"9d0a90a35935d71d7a0f5f33689030fe\",\n            \"\u5305\"\uff1a\"prepay_id=wx281407195596079e2b5253415099630000\"\n        }\n    },\n    \"payment_method_types\"\uff1a[\n        \"wechat_pay\"\u3001\n    ],\n    \"\u786e\u8ba4\u65b9\u5f0f\"\uff1a\"\u81ea\u52a8\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879\"\uff1a{\n        \"\u5fae\u4fe1\u652f\u4ed8\"\uff1a {{\n            \"openid\"\uff1a\"**********\",\n            \"\u7ec8\u7aef\u7c7b\u578b\"\uff1a\"mini_program\"\u3001\n            \"client_ip\"\uff1a\"192.168.0.1\"\n        }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a\"pm_1684807723448795136\",\n    \"capture_method\"\uff1a\"\u81ea\u52a8\" }\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-checkout\">\u7ed3\u8d26<\/h2>\n\n\n\n<p>\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7 WooshPay \u6258\u7ba1\u7684\u7ed3\u8d26\u4f7f\u7528\u5fae\u4fe1\u652f\u4ed8\u3002\u8981\u652f\u6301\u652f\u4ed8\uff0c\u7ed3\u8d26\u4f1a\u8bdd\u5fc5\u987b\u6ee1\u8db3\u4ee5\u4e0b\u6240\u6709\u6761\u4ef6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6240\u6709\u9879\u76ee\u7684\u4ef7\u683c\u5fc5\u987b\u4f7f\u7528\u76f8\u540c\u7684\u8d27\u5e01\u3002\u5982\u679c\u6709\u4e0d\u540c\u8d27\u5e01\u7684\u9879\u76ee\uff0c\u8bf7\u4e3a\u6bcf\u79cd\u8d27\u5e01\u521b\u5efa\u5355\u72ec\u7684\u7ed3\u8d26\u4f1a\u8bdd\u3002<\/li>\n\n\n\n<li>\u53ea\u80fd\u4f7f\u7528\u4e00\u6b21\u6027\u7ec6\u5217\u9879\u76ee\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u542f\u7528\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u4ed8\u6b3e\u65b9\u5f0f<\/p>\n\n\n\n<p>\u521b\u5efa\u65b0\u7684\u7ed3\u8d26\u4f1a\u8bdd\u65f6\uff0c\u60a8\u9700\u8981<\/p>\n\n\n\n<p>\u5c06\u5fae\u4fe1\u652f\u4ed8\u6dfb\u52a0\u5230 <code>\u4ed8\u6b3e\u65b9\u5f0f\u7c7b\u578b<\/code>.\u786e\u4fdd\u6240\u6709 <code>\u884c\u9879\u76ee<\/code> \u4f7f\u7528\u76f8\u540c\u7684\u8d27\u5e01\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-create-a-session\"><a href=\"\/zh\/api-42654181\/\"><strong>\u521b\u5efa\u4f1a\u8bdd<\/strong><\/a><\/h3>\n\n\n\n<p><strong><em>\u8981\u6c42<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"cancel_url\"\uff1a\"https:\/\/wooshpay.com\"\u3001\n    \"\u6a21\u5f0f\"\uff1a\"\u4ed8\u6b3e\"\u3001\n    \"success_url\"\uff1a\"https:\/\/wooshpay.com\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a[\n        \"\u5fae\u4fe1\u652f\u4ed8\n    ],\n    \"\u9879\u76ee\"\uff1a[\n        {\n            \"\u4ef7\u683c\u6570\u636e{\n                \"currency\"\uff1a\"CNY\"\u3001\n                \"unit_amount\"\uff1a100,\n                \"product_data\"\uff1a{\n                    \"\u540d\u79f0\"\uff1a\"fengli\"\u3001\n                    \"url\"\uff1a\"www.baidu.com\"\n                }\n            },\n            \"\u6570\u91cf\"\uff1a1\n        }\n    ]\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\"cs_1666627733867724800\",\n    \"\u5bf9\u8c61\"\uff1a\"checkout.session\"\u3001\n    \"\u521b\u5efa\"\uff1a1686189991000,\n    \"livemode\": false\u3001\n    \"currency\"\uff1a\"CNY\"\u3001\n    \"\u5ba2\u6237\"\uff1a\"\",\n    \"\u6a21\u5f0f\"\uff1a\"\u4ed8\u6b3e\"\u3001\n    \"\u72b6\u6001\"\uff1a\"open\"\u3001\n    \"url\"\uff1a\"https:\/\/checkouttest.wooshpay.com\/pay\/cs_test_1666627733867724800?key=pk_test_NTE1OTU5NzQ3NTQ2MTM5ODkzNzcxOktFZ0xlam1KbUxUb2gyUUNqWVVoaGpDSjE2NjkzNDUwMDgxMTE=\"\u3001\n    \"cancel_url\"\uff1a\"https:\/\/wooshpay.com\"\u3001\n    \"\u884c\u9879\u76ee\"\uff1a{\n        \"\u5bf9\u8c61\"\uff1a\"list\"\u3001\n        \"\u6570\u636e\"\uff1a[\n            {\n                \"id\"\uff1a\"li_1666627733993553920\",\n                \"\u5bf9\u8c61\"\uff1a\"\u9879\u76ee\"\u3001\n                \"\u8d27\u5e01\"\uff1a\"CNY\"\u3001\n                \"\u63cf\u8ff0\"\uff1a\"fengli\"\u3001\n                \u4ef7\u683c{\n                    \"id\"\uff1a\"price_1666627734022914048\",\n                    \"\u5bf9\u8c61\"\uff1a\"\u4ef7\u683c\"\u3001\n                    \"\u521b\u5efa\"\uff1a1686189991000,\n                    \"livemode\": false\u3001\n                    \"active\": true\u3001\n                    \"\u8d27\u5e01\"\uff1a\"CNY\"\u3001\n                    \"\u4ea7\u54c1\"\uff1a{\n                        \"id\"\uff1a\"prod_1666627734064857088\",\n                        \"\u5bf9\u8c61\"\uff1a\"\u4ea7\u54c1\"\u3001\n                        \"\u521b\u5efa\"\uff1a1686189991000,\n                        \"livemode\": false\u3001\n                        \"active\": true\u3001\n                        \"\u540d\u79f0\"\uff1a\"fengli\"\u3001\n                        \"url\"\uff1a\"www.baidu.com\"\u3001\n                        \"\u66f4\u65b0\"\uff1a true1686189991000\n                    },\n                    \"\u7c7b\u578b\"\uff1a\"one_time\"\u3001\n                    \"unit_amount\"\uff1a100,\n                    \"\u8ba1\u8d39\u65b9\u5f0f\"\uff1a\"\u6bcf\u5355\u4f4d\"\n                },\n                \"\u6570\u91cf\"\uff1a1,\n                \"amount_subtotal\": 100\u3001\n                \u91d1\u989d\u5c0f\u8ba1\": 100, \"\u91d1\u989d\u603b\u8ba1\": 100\n            }\n        ]\n    },\n    \"payment_intent\"\uff1a\"pi_1666627734450733056\",\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u7c7b\u578b\"\uff1a[\n        \"\u5fae\u4fe1\u652f\u4ed8\n    ],\n    \"\u4ed8\u6b3e\u72b6\u6001\"\u672a\u652f\u4ed8\"\u3001\n    \"success_url\"\uff1a\"\"\uff1a\"https:\/\/wooshpay.com\"\u3001\n    \"amount_subtotal\": 100\u3001\n    \"amount_total\": 100\u3001\n    \"billing_address_collection\"\uff1a\"auto\"\u3001\n    \"expires_at\"\uff1a1686276390865,\n    \"\u4ed8\u6b3e\u94fe\u63a5\"\",\n    \"client_secret\": \"pi_1666627734450733056_secret_jajX5Fe4Qlp6VGEm0ftP1wcZ\"\n}<\/code><\/pre>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u7f51\u5740\u8fdb\u5165\u7ed3\u8d26\u67dc\u53f0\uff0c\u9009\u62e9\u5fae\u4fe1\u652f\u4ed8\u3002\u5982\u679c\u5ba2\u6237\u7aef\u662f\u7f51\u9875\uff0c\u5219\u4f1a\u751f\u6210\u4e00\u4e2a\u4e8c\u7ef4\u7801\uff0c\u60a8\u53ef\u4ee5\u626b\u7801\u4ed8\u6b3e\u3002\u5982\u679c\u5ba2\u6237\u7aef\u662f\u79fb\u52a8\u7ec8\u7aef\uff0c\u5219\u4f1a\u76f4\u63a5\u8df3\u8f6c\u5230\u5fae\u4fe1 APP \u8fdb\u884c\u652f\u4ed8\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-next-step\"><strong>\u4e0b\u4e00\u6b65<\/strong><\/h2>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u4e3a\u96c6\u6210\u6dfb\u52a0\u66f4\u591a\u529f\u80fd<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-webhook\"><a href=\"\/zh\/doc-2517709\/\">\u521b\u5efa Webhook<\/a><\/h2>\n\n\n\n<p>\u76d1\u542c WooshPay \u8d26\u6237\u4e0a\u7684\u4e8b\u4ef6\uff0c\u4ee5\u4fbf\u60a8\u7684\u96c6\u6210\u53ef\u4ee5\u81ea\u52a8\u89e6\u53d1\u53cd\u5e94\u3002\u521b\u5efa\u4e00\u4e2a webhook\uff0c\u4e3b\u8981\u5173\u6ce8 enabled_events \u548c url\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-refund\"><a href=\"\/zh\/api-51369554\/\">\u521b\u5efa\u9000\u6b3e<\/a><\/h2>\n\n\n\n<p>\u521b\u5efa\u9000\u6b3e\uff0c\u5c06\u8d44\u91d1\u8fd4\u8fd8\u7ed9\u5ba2\u6237\u3002\u60a8\u4e5f\u53ef\u4ee5\u6267\u884c\u90e8\u5206\u9000\u6b3e\uff0c\u4f46\u5e76\u975e\u6bcf\u79cd\u652f\u4ed8\u65b9\u5f0f\u90fd\u652f\u6301\u3002\u90e8\u5206\u9000\u6b3e\u662f\u6307\u53ea\u9000\u8fd8\u539f\u59cb\u4ea4\u6613\u91d1\u989d\u7684\u4e00\u90e8\u5206\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Learn about WeChat Pay, a digital wallet popular with customers from China. WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has [&hellip;]<\/p>","protected":false},"author":6,"featured_media":17289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"doc_category":[395],"doc_tag":[321,324,323,397],"class_list":["post-12046","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-add-more-payment-methods","doc_tag-checkout","doc_tag-open-api","doc_tag-payment","doc_tag-wechat-pay"],"year_month":"2026-04","word_count":1694,"total_views":"2579","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"zhaozixu","author_nicename":"zhaozixu","author_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/author\/zhaozixu\/"},"doc_category_info":[{"term_name":"Add more payment methods","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-category\/add-more-payment-methods\/"}],"doc_tag_info":[{"term_name":"checkout","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/checkout\/"},{"term_name":"open api","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/open-api\/"},{"term_name":"payment","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/payment\/"},{"term_name":"WeChat Pay","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/wechat-pay\/"}],"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>WeChat Pay - WooshPay<\/title>\n<meta name=\"description\" content=\"WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has transformed into a comprehensive ecosystem, offering Chinese shoppers the convenience of chatting, browsing products or services, and making payments seamlessly within a unified platform. This integration has made the shopping experience as effortless as having a friendly conversation with your companions, all in one place.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wechat-pay\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WeChat Pay\" \/>\n<meta property=\"og:description\" content=\"WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has transformed into a comprehensive ecosystem, offering Chinese shoppers the convenience of chatting, browsing products or services, and making payments seamlessly within a unified platform. This integration has made the shopping experience as effortless as having a friendly conversation with your companions, all in one place.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wechat-pay\/\" \/>\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=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/\",\"url\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/\",\"name\":\"WeChat Pay - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\",\"datePublished\":\"2023-08-08T12:02:40+00:00\",\"dateModified\":\"2023-08-09T07:32:19+00:00\",\"description\":\"WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has transformed into a comprehensive ecosystem, offering Chinese shoppers the convenience of chatting, browsing products or services, and making payments seamlessly within a unified platform. This integration has made the shopping experience as effortless as having a friendly conversation with your companions, all in one place.\",\"breadcrumb\":{\"@id\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#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:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#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\":\"WeChat Pay\"}]},{\"@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":"\u5fae\u4fe1\u652f\u4ed8 - WooshPay","description":"\u5fae\u4fe1\u652f\u4ed8\u662f\u96c6\u6210\u5728\u4e2d\u56fd\u6d41\u884c\u7684\u8d85\u7ea7\u5e94\u7528\u5fae\u4fe1\u4e2d\u7684\u6570\u5b57\u94b1\u5305\u3002\u591a\u5e74\u6765\uff0c\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u4f01\u4e1a\u4e0e\u56fd\u5185\u5916\u4e2d\u56fd\u6d88\u8d39\u8005\u5efa\u7acb\u8054\u7cfb\u7684\u91cd\u8981\u652f\u4ed8\u89e3\u51b3\u65b9\u6848\uff0c\u5df2\u83b7\u5f97\u4e86\u663e\u8457\u7684\u5730\u4f4d\u3002\u5fae\u4fe1\u5df2\u8f6c\u53d8\u4e3a\u4e00\u4e2a\u7efc\u5408\u751f\u6001\u7cfb\u7edf\uff0c\u4e3a\u4e2d\u56fd\u8d2d\u7269\u8005\u63d0\u4f9b\u4e86\u804a\u5929\u3001\u6d4f\u89c8\u4ea7\u54c1\u6216\u670d\u52a1\u4ee5\u53ca\u5728\u7edf\u4e00\u5e73\u53f0\u5185\u65e0\u7f1d\u652f\u4ed8\u7684\u4fbf\u5229\u3002\u8fd9\u79cd\u6574\u5408\u4f7f\u8d2d\u7269\u4f53\u9a8c\u53d8\u5f97\u8f7b\u677e\u81ea\u5982\uff0c\u5c31\u50cf\u4e0e\u540c\u4f34\u5728\u4e00\u4e2a\u5730\u65b9\u8fdb\u884c\u53cb\u597d\u4ea4\u8c08\u4e00\u6837\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:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wechat-pay\/","og_locale":"zh_CN","og_type":"article","og_title":"WeChat Pay","og_description":"WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has transformed into a comprehensive ecosystem, offering Chinese shoppers the convenience of chatting, browsing products or services, and making payments seamlessly within a unified platform. This integration has made the shopping experience as effortless as having a friendly conversation with your companions, all in one place.","og_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wechat-pay\/","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":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/","url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/","name":"\u5fae\u4fe1\u652f\u4ed8 - WooshPay","isPartOf":{"@id":"https:\/\/www.wooshpay.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#primaryimage"},"image":{"@id":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#primaryimage"},"thumbnailUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","datePublished":"2023-08-08T12:02:40+00:00","dateModified":"2023-08-09T07:32:19+00:00","description":"\u5fae\u4fe1\u652f\u4ed8\u662f\u96c6\u6210\u5728\u4e2d\u56fd\u6d41\u884c\u7684\u8d85\u7ea7\u5e94\u7528\u5fae\u4fe1\u4e2d\u7684\u6570\u5b57\u94b1\u5305\u3002\u591a\u5e74\u6765\uff0c\u5fae\u4fe1\u652f\u4ed8\u4f5c\u4e3a\u4f01\u4e1a\u4e0e\u56fd\u5185\u5916\u4e2d\u56fd\u6d88\u8d39\u8005\u5efa\u7acb\u8054\u7cfb\u7684\u91cd\u8981\u652f\u4ed8\u89e3\u51b3\u65b9\u6848\uff0c\u5df2\u83b7\u5f97\u4e86\u663e\u8457\u7684\u5730\u4f4d\u3002\u5fae\u4fe1\u5df2\u8f6c\u53d8\u4e3a\u4e00\u4e2a\u7efc\u5408\u751f\u6001\u7cfb\u7edf\uff0c\u4e3a\u4e2d\u56fd\u8d2d\u7269\u8005\u63d0\u4f9b\u4e86\u804a\u5929\u3001\u6d4f\u89c8\u4ea7\u54c1\u6216\u670d\u52a1\u4ee5\u53ca\u5728\u7edf\u4e00\u5e73\u53f0\u5185\u65e0\u7f1d\u652f\u4ed8\u7684\u4fbf\u5229\u3002\u8fd9\u79cd\u6574\u5408\u4f7f\u8d2d\u7269\u4f53\u9a8c\u53d8\u5f97\u8f7b\u677e\u81ea\u5982\uff0c\u5c31\u50cf\u4e0e\u540c\u4f34\u5728\u4e00\u4e2a\u5730\u65b9\u8fdb\u884c\u53cb\u597d\u4ea4\u8c08\u4e00\u6837\u3002","breadcrumb":{"@id":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#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:\/\/d2jcf4noflr1cd.cloudfront.net\/es\/docs\/wechat-pay\/#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":"WeChat Pay"}]},{"@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:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/author\/zhaozixu\/"},"uagb_comment_info":0,"uagb_excerpt":"Learn about WeChat Pay, a digital wallet popular with customers from China. WeChat Pay serves as a digital wallet integrated into the popular Chinese superapp known as WeChat. Over the years, it has gained significant prominence as an essential payment solution for businesses seeking to connect with Chinese consumers, both domestically and internationally. WeChat has&hellip;","_links":{"self":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/12046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/comments?post=12046"}],"version-history":[{"count":0,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/12046\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media\/17289"}],"wp:attachment":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media?parent=12046"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_category?post=12046"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_tag?post=12046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}