{"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:\/\/wooshpay.com\/fr\/docs\/wechat-pay\/","title":{"rendered":"WeChat Pay"},"content":{"rendered":"<h3 class=\"wp-block-heading\" id=\"h-learn-about-wechat-pay-a-digital-wallet-popular-with-customers-from-china\"><strong>D\u00e9couvrez WeChat Pay, un portefeuille num\u00e9rique populaire aupr\u00e8s des clients chinois.<\/strong><\/h3>\n\n\n\n<p>WeChat Pay est un portefeuille num\u00e9rique int\u00e9gr\u00e9 \u00e0 la c\u00e9l\u00e8bre superapplication chinoise WeChat. Au fil des ans, WeChat Pay s'est impos\u00e9 comme une solution de paiement essentielle pour les entreprises qui cherchent \u00e0 entrer en contact avec les consommateurs chinois, tant au niveau national qu'international. WeChat s'est transform\u00e9 en un \u00e9cosyst\u00e8me complet, offrant aux acheteurs chinois la possibilit\u00e9 de discuter, de consulter des produits ou des services et d'effectuer des paiements de mani\u00e8re transparente au sein d'une plateforme unifi\u00e9e. Cette int\u00e9gration a rendu l'exp\u00e9rience d'achat aussi facile qu'une conversation amicale avec vos compagnons, le tout en un seul endroit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-features\">Caract\u00e9ristiques<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Localisation des clients<\/th><th>Consommateurs chinois<br>Chinois d'outre-mer<br>Voyageurs chinois<\/th><\/tr><\/thead><tbody><tr><td>Traitement des devises<\/td><td>CNY, GBP, USD, EUR, HKD<\/td><\/tr><tr><td>Devises de r\u00e8glement<\/td><td>GBP, EUR, USD, HKD<\/td><\/tr><tr><td>Montant minimum de la transaction<\/td><td>Aucune limite<\/td><\/tr><tr><td>Montant maximum de la transaction<\/td><td>50 000 USD<\/td><\/tr><tr><td>Remboursements<\/td><td>\u2705<\/td><\/tr><tr><td>Remboursements partiels<\/td><td>\u2705<\/td><\/tr><tr><td>Remboursement partiel multiple<\/td><td>\u2705<\/td><\/tr><tr><td>R\u00e9p\u00e9tition de la dette<\/td><td>\u274c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-subproducts\">Sous-produits<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Cas de paiement<\/strong><\/th><th><strong>Produit<\/strong><\/th><th><strong>Description des sc\u00e9narios de paiement<\/strong><\/th><\/tr><\/thead><tbody><tr><td><strong>Code QR<\/strong><\/td><td><strong>Paiement par Internet<\/strong><\/td><td>Apr\u00e8s avoir s\u00e9lectionn\u00e9 WeChatPay comme m\u00e9thode de paiement, un code QR appara\u00eet sur le navigateur de l'ordinateur de bureau. L'acheteur ouvre alors l'application WeChat sur son t\u00e9l\u00e9phone portable et scanne le code-barres affich\u00e9 sur la page du navigateur pour effectuer le paiement.<\/td><\/tr><tr><td><strong>Code QR<\/strong><\/td><td><strong>Paiement rapide<\/strong><\/td><td>Sur le point de vente, les commer\u00e7ants peuvent afficher le code QR sur le terminal et les clients peuvent ouvrir l'application WeChat sur leur t\u00e9l\u00e9phone portable pour scanner le code QR et effectuer le paiement.<\/td><\/tr><tr><td><strong>Flux mobiles H5<\/strong><\/td><td><strong>Paiement H5<\/strong><\/td><td>Sur le navigateur mobile, un acheteur s\u00e9lectionne WeChatPay comme m\u00e9thode de paiement \u00e0 la caisse du commer\u00e7ant, et est redirig\u00e9 du navigateur vers l'application WeChatPay pour terminer le paiement avant d'\u00eatre redirig\u00e9 vers le navigateur du commer\u00e7ant.<\/td><\/tr><tr><td><strong>Mobile - Dans l'application WeChat<\/strong><\/td><td><strong>Compte officiel<\/strong><\/td><td>Habituellement populaires sur les march\u00e9s o\u00f9 l'on parle le plus le chinois, les commer\u00e7ants peuvent envisager de cr\u00e9er une page de profil sur le site social WeChat et d'inviter les acheteurs \u00e0 s\u00e9lectionner des produits et \u00e0 effectuer le paiement dans l'environnement du site social WeChat.<\/td><\/tr><tr><td><strong>Mobile - Dans l'application WeChat<\/strong><\/td><td><strong>Mini programme<\/strong><\/td><td>Un mini-programme est une sorte de site web au sein du site social WeChat, qui permet au marchand de personnaliser davantage son offre et aux acheteurs de s\u00e9lectionner des produits et d'effectuer le paiement dans cet environnement.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-payment-flow\">Flux de paiement<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-qr-code\">Code QR<\/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\">Flux mobiles H5<\/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\">Mobile - Dans l'application WeChat<\/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 - In WeChat app.png\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-integration-method\"><strong>M\u00e9thode d'int\u00e9gration<\/strong><\/h2>\n\n\n\n<p><strong>Valeurs de l'\u00e9num\u00e9ration des m\u00e9thodes de paiement :<\/strong> <strong><code>wechat_pay<\/code><\/strong><\/p>\n\n\n\n<p><strong>Il existe deux m\u00e9thodes d'int\u00e9gration pour Wechat pay<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>API directe<\/li>\n\n\n\n<li>Sortie de caisse<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>M\u00e9thode d'int\u00e9gration<\/strong><\/th><th><strong>Sous-production de Wechat Pay<\/strong><\/th><th><strong>Valeurs de l'\u00e9num\u00e9ration terminal_type<\/strong><\/th><\/tr><\/thead><tbody><tr><td>API directe<\/td><td>Paiement par Internet<\/td><td>WEB<\/td><\/tr><tr><td>API directe<\/td><td>Paiement rapide<\/td><td>SCAN_CODE<\/td><\/tr><tr><td>API directe<\/td><td>Paiement H5<\/td><td>WAP<\/td><\/tr><tr><td>API directe<\/td><td>Paiement du compte officiel<\/td><td>COMPTE_OFFICIEL<\/td><\/tr><tr><td>API directe<\/td><td>Mini programme<\/td><td>MINI_PROGRAMME<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>M\u00e9thode d'int\u00e9gration<\/strong><\/th><th><strong>Sous-production de Wechat Pay<\/strong><\/th><th><strong>Valeurs de l'\u00e9num\u00e9ration terminal_type<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Sortie de caisse<\/td><td>Paiement par Internet<\/td><td>Vous n'avez pas besoin d'identifier le type de terminal lors du paiement. La caisse g\u00e9n\u00e8re automatiquement un code QR ou redirige vers l'application WeChat en fonction de l'appareil du client.<\/td><\/tr><tr><td>Sortie de caisse<\/td><td>Paiement H5<\/td><td>Vous n'avez pas besoin d'identifier le type de terminal lors du paiement. La caisse g\u00e9n\u00e8re automatiquement un code QR ou redirige vers l'application WeChat en fonction de l'appareil du client.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-direct-api\">API directe<\/h2>\n\n\n\n<p>Un PaymentIntent est un objet qui repr\u00e9sente votre intention de percevoir un paiement de la part de votre client et qui suit le cycle de vie du processus de paiement. Cr\u00e9ez un PaymentIntent sur votre serveur et indiquez le montant \u00e0 encaisser ainsi qu'une devise prise en charge.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-create-a-paymentintent\"><a href=\"\/fr\/api-42631218\/\">Cr\u00e9er un PaymentIntent<\/a><\/h3>\n\n\n\n<p>Pour une int\u00e9gration API directe, vous pouvez cr\u00e9er un PaymentIntent et obtenir l'url en une seule \u00e9tape. Voici une d\u00e9monstration de la cr\u00e9ation d'intentions de paiement :<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Paiement par Internet<\/li>\n\n\n\n<li>Paiement H5<\/li>\n\n\n\n<li>Paiement rapide<\/li>\n\n\n\n<li>Paiement du compte officiel<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-web-payment\"><strong>Paiement par Internet<\/strong><\/h4>\n\n\n\n<p><em>Demande<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"montant\":20,\n    \"devise\" : \"CNY\",\n    \"confirm\":true,\n    \"payment_method_options\":{\n        \"wechat_pay\":{\n            \"terminal_type\" : \"WEB\",\n            \"os_type\" : \"IOS\",\n            \"client_ip\":\"192.168.0.1\"\n            }\n    },\n    \"payment_method_data\":{\n        \"type\" : \"wechat_pay\"\n    },\n\"return_url\" : \"https:\/\/wooshpay.com\"\n}<\/code><\/pre>\n\n\n\n<p><em>R\u00e9ponse<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\" : \"pi_1666625039547498496\",\n    \"object\" : \"payment_intent\",\n    \"created\" : 1686189348000,\n    \"livemode\" : false,\n    \"currency\" : \"CNY\",\n    \"montant\" : 20,\n    \"status\" : \"requires_action\",\n    \"client_secret\": \"pi_1666625039547498496_secret_qGj2VEg4khXSWkXvRI7Y3yZe\",\n    \"next_action\" : {\n        \"type\" : \"wechat_pay_display_qr_code\",\n        \"wechat_pay_display_qr_code\" : {\n            \"image_data_url\" : \"weixin:\/\/wxpay\/bizpayurl?pr=lJhTByDzz\"\n        }\n    },\n    \"payment_method_types\" : [\n        \"wechat_pay\",\n    ],\n    \"confirmation_method\" : \"automatique\",\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"terminal_type\" : \"WEB\",\n            \"os_type\" : \"IOS\",\n            \"client_ip\" : \"192.168.0.1\"\n        }\n    },\n    \"return_url\" : \"https:\/\/wooshpay.com\",\n    \"payment_method\" : \"pm_1666625039430057984\",\n    \"capture_method\" : \"automatic\"\n}<\/code><\/pre>\n\n\n\n<p>Le <code>image_data_url<\/code> de <code>wechat_pay_display_qr_code<\/code> de <code>action_suivante<\/code> peut \u00eatre ouvert, \u00e0 partir du lien, le commer\u00e7ant peut g\u00e9n\u00e9rer les codes QR correspondants. Il peut ensuite utiliser le code QR correspondant pour facturer.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-h5-payment\"><strong>Paiement H5<\/strong><\/h4>\n\n\n\n<p><em>Demande<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"montant\" : 20,\n    \"devise\" : \"CNY\",\n    \"confirm\" : true,\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"terminal_type\" : \"WAP\",\n            \"client_ip\" : \"192.168.124.133\" \/l'ip du mobile du client\n        }\n    },\n    \"payment_method_data\" : {\n        \"type\" : \"wechat_pay\"\n    },\n    \"return_url\" : \"yourwebsite\"\n}<\/code><\/pre>\n\n\n\n<p><em>R\u00e9ponse<\/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>Le <code>url<\/code> de <code>wechat_pay_redirect_to_web<\/code> de <code>action_suivante<\/code> peut \u00eatre ouvert, \u00e0 partir du lien, le client sera dirig\u00e9 vers l'APP wechat pour le paiement, et sera dirig\u00e9 vers l'APP wechat pour le paiement. <code>return_url<\/code> apr\u00e8s paiement.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-quick-pay\"><strong>Paiement rapide<\/strong><\/h4>\n\n\n\n<p><em>Demande<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"montant\":10,\n    \"devise\" : \"CNY\",\n    \"confirm\":true,\n    \"payment_method_options\":{\n        \"wechat_pay\":{\n            \"terminal_type\" : \"SCAN_CODE\",\n            \"os_type\" : \"IOS\",\n            \"client_ip\":\"192.168.0.1\"\n            }\n    },\n    \"payment_method_data\":{\n        \"type\" : \"wechat_pay\",\n        \"wechat_pay\":{\n            \"payment_code\":\"132993614656096754\"\n        }\n    },\n    \"return_url\" : \"https:\/\/yourweb.com\"\n}<\/code><\/pre>\n\n\n\n<p><em>R\u00e9ponse<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\" : \"pi_1666627489012645888\",\n    \"object\" : \"payment_intent\",\n    \"created\" : 1686189932000,\n    \"livemode\" : false,\n    \"currency\" : \"CNY\",\n    \"montant\" : 10,\n    \"status\" : \"requires_action\",\n    \"client_secret\": \"pi_1666627489012645888_secret_t6oeKYYGb9egt3koNMsntfSg\",\n    \"payment_method_types\" : [\n        \"wechat_pay\"\n    ],\n    \"confirmation_method\" : \"automatique\",\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"terminal_type\" : \"SCAN_CODE\",\n            \"os_type\" : \"IOS\",\n            \"client_ip\" : \"192.168.0.1\"\n        }\n    },\n    \"return_url\" : \"https:\/\/yourweb.com\",\n    \"payment_method\" : \"pm_1666627488878428160\",\n    \"capture_method\" : \"automatic\"\n}<\/code><\/pre>\n\n\n\n<p>Le paiement sans mot de passe peut \u00eatre effectu\u00e9 directement, sinon le client doit saisir le mot de passe, l'empreinte digitale, etc. sur le t\u00e9l\u00e9phone portable pour payer.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-official-account-payment\"><strong>Paiement du compte officiel<\/strong><\/h4>\n\n\n\n<p><em>Demande<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"montant\" : 20,\n    \"devise\" : \"CNY\",\n    \"confirm\" : true,\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"terminal_type\" : \"COMPTE_OFFICIEL\",\n            \"client_ip\" : \"192.168.0.1\",\n            \"openid\" : \"\"\n        }\n    },\n    \"payment_method_data\" : {\n        \"type\" : \"wechat_pay\"\n    }\n}<\/code><\/pre>\n\n\n\n<p><em>R\u00e9ponse<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\" : \"pi_1666626536515567616\",\n    \"object\" : \"payment_intent\",\n    \"created\" : 1686189705000,\n    \"livemode\" : false,\n    \"currency\" : \"CNY\",\n    \"montant\" : 20,\n    \"status\" : \"requires_payment_method\",\n    \"client_secret\": \"pi_1666626536515567616_secret_CcrukFKgxbPp7UEAxodLlNRD\",\n    \"last_payment_error\" : {\n        \"code\" : \"payment_method_provider_decline\",\n        \"message\" : \"erreur de service. Veuillez r\u00e9essayer\",\n        \"payment_method\" : {\n            \"id\" : \"pm_1666626536389738496\",\n            \"objet\" : \"payment_method\",\n            \"created\" : 1686189705000,\n            \"livemode\" : false,\n            \"type\" : \"wechat_pay\",\n            \"billing_details\" : {}\n        },\n        \"decline_code\" : \"invalid_request_error\"\n    },\n    \"payment_method_types\" : [\n        \"wechat_pay\"\n    ],\n    \"confirmation_method\" : \"automatique\",\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"openid\" : \"\",\n            \"terminal_type\" : \"COMPTE_OFFICIEL\",\n            \"client_ip\" : \"192.168.0.1\"\n        }\n    },\n    \"payment_method\" : \"pm_1666626536389738496\",\n    \"capture_method\" : \"automatic\"\n}<\/code><\/pre>\n\n\n\n<p><code>param\u00e8tres_du_compte_officiel_de_paiement_de_Wechat<\/code> de <code>action_suivante<\/code> contient certains param\u00e8tres que vous devez utiliser dans la partie frontale. Vous trouverez ci-dessous un exemple d'utilisation de ces param\u00e8tres. <em>js<\/em> <em>exemple<\/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>Mini programme<\/strong><\/h4>\n\n\n\n<p><em>Demande<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"montant\" : 20,\n    \"devise\" : \"GBP\",\n    \"confirm\" : true,\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"terminal_type\" : \"MINI_PROGRAMME\",\n            \"client_ip\" : \"192.168.0.1\",\n            \"openid\" : \"ojt**********QnCY\"\n        }\n    },\n    \"payment_method_data\" : {\n        \"type\" : \"wechat_pay\"\n    }\n}<\/code><\/pre>\n\n\n\n<p><em>R\u00e9ponse<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\" : \"pi_1684807723566235648\",\n    \"object\" : \"payment_intent\",\n    \"created\" : 1690524438000,\n    \"livemode\" : true,\n    \"currency\" : \"GBP\",\n    \"montant\" : 20,\n    \"status\" : \"requires_action\",\n    \"client_secret\": \"pi_1684807723566235648_secret_V3rhLjnidzwNnc7UomZJzzxc\",\n    \"next_action\" : {\n        \"type\" : \"wechat_pay_mini_program_params\",\n        \"wechat_pay_mini_program_params\" : {\n            \"appId\" : \"***********\",\n            \"timeStamp\" : \"1690524439\",\n            \"nonceStr\" : \"VVdQaFzG9LjOSNyGNLFbt7NZAn2oE87z\",\n            \"signType\" : \"MD5\",\n            \"paySign\" : \"9d0a90a35935d71d7a0f5f33689030fe\",\n            \"package\" : \"prepay_id=wx281407195596079e2b5253415099630000\"\n        }\n    },\n    \"payment_method_types\" : [\n        \"wechat_pay\",\n    ],\n    \"confirmation_method\" : \"automatique\",\n    \"payment_method_options\" : {\n        \"wechat_pay\" : {\n            \"openid\" : \"**********\",\n            \"terminal_type\" : \"MINI_PROGRAMME\",\n            \"client_ip\" : \"192.168.0.1\"\n        }\n    },\n    \"payment_method\" : \"pm_1684807723448795136\",\n    \"capture_method\" : \"automatic\"\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-checkout\">Sortie de caisse<\/h2>\n\n\n\n<p>Vous pouvez \u00e9galement utiliser WeChat Pay via la caisse h\u00e9berg\u00e9e par WooshPay. Pour prendre en charge les paiements, une session de paiement doit remplir toutes les conditions suivantes :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Les prix de tous les articles doivent \u00eatre exprim\u00e9s dans la m\u00eame devise. Si les articles sont libell\u00e9s dans des devises diff\u00e9rentes, cr\u00e9ez des sessions de paiement distinctes pour chaque devise.<\/li>\n\n\n\n<li>Vous ne pouvez utiliser que des postes uniques.<\/li>\n<\/ul>\n\n\n\n<p>Activer wechat pay comme m\u00e9thode de paiement<\/p>\n\n\n\n<p>Lors de la cr\u00e9ation d'une nouvelle session de paiement, vous devez.. :<\/p>\n\n\n\n<p>Ajouter Wechat Pay \u00e0 la liste des <code>types_m\u00e9thodes_de_paiement<\/code>. Assurez-vous que tous les <code>articles_de_ligne<\/code> utilisent la m\u00eame monnaie.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-create-a-session\"><a href=\"\/fr\/api-42654181\/\"><strong>Cr\u00e9er une session<\/strong><\/a><\/h3>\n\n\n\n<p><strong><em>Demande<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"cancel_url\" : \"https:\/\/wooshpay.com\",\n    \"mode\" : \"paiement\",\n    \"success_url\" : \"https:\/\/wooshpay.com\",\n    \"payment_method_types\" : [\n        \"wechat_pay\"\n    ],\n    \"line_items\" : [\n        {\n            \"price_data\" : {\n                \"currency\" : \"CNY\",\n                \"unit_amount\" : 100,\n                \"product_data\" : {\n                    \"name\" : \"fengli\",\n                    \"url\" : \"www.baidu.com\"\n                }\n            },\n            \"quantit\u00e9\" : 1\n        }\n    ]\n}<\/code><\/pre>\n\n\n\n<p><strong><em>R\u00e9ponse<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\" : \"cs_1666627733867724800\",\n    \"object\" : \"checkout.session\",\n    \"created\" : 1686189991000,\n    \"livemode\" : false,\n    \"currency\" : \"CNY\",\n    \"client\" : \"\",\n    \"mode\" : \"paiement\",\n    \"statut\" : \"ouvert\",\n    \"url\" : \"https:\/\/checkouttest.wooshpay.com\/pay\/cs_test_1666627733867724800?key=pk_test_NTE1OTU5NzQ3NTQ2MTM5ODkzNzcxOktFZ0xlam1KbUxUb2gyUUNqWVVoaGpDSjE2NjkzNDUwMDgxMTE=\",\n    \"cancel_url\" : \"https:\/\/wooshpay.com\",\n    \"line_items\" : {\n        \"object\" : \"liste\",\n        \"data\" : [\n            {\n                \"id\" : \"li_1666627733993553920\",\n                \"object\" : \"item\",\n                \"currency\" : \"CNY\",\n                \"description\" : \"fengli\",\n                \"prix\" : {\n                    \"id\" : \"price_1666627734022914048\",\n                    \"objet\" : \"prix\",\n                    \"created\" : 1686189991000,\n                    \"livemode\" : false,\n                    \"active\" : true,\n                    \"currency\" : \"CNY\",\n                    \"produit\" : {\n                        \"id\" : \"prod_1666627734064857088\",\n                        \"objet\" : \"produit\",\n                        \"created\" : 1686189991000,\n                        \"livemode\" : false,\n                        \"active\" : true,\n                        \"nom\" : \"fengli\",\n                        \"url\" : \"www.baidu.com\",\n                        \"updated\" : 1686189991000\n                    },\n                    \"type\" : \"one_time\",\n                    \"unit_amount\" : 100,\n                    \"billing_scheme\" : \"per_unit\"\n                },\n                \"quantity\" : 1,\n                \"amount_subtotal\" : 100,\n                \"montant_total\" : 100\n            }\n        ]\n    },\n    \"payment_intent\" : \"pi_1666627734450733056\",\n    \"payment_method_types\" : [\n        \"wechat_pay\"\n    ],\n    \"payment_status\" : \"non pay\u00e9\",\n    \"success_url\" : \"https:\/\/wooshpay.com\",\n    \"amount_subtotal\" : 100,\n    \"amount_total\" : 100,\n    \"billing_address_collection\" : \"auto\",\n    \"expires_at\" : 1686276390865,\n    \"payment_link\" : \"\",\n    \"client_secret\": \"pi_1666627734450733056_secret_jajX5Fe4Qlp6VGEm0ftP1wcZ\"\n}<\/code><\/pre>\n\n\n\n<p>Vous pouvez acc\u00e9der \u00e0 la caisse par l'interm\u00e9diaire de l'URL et s\u00e9lectionner le paiement par WeChat. Si le client est une page web, un code QR sera g\u00e9n\u00e9r\u00e9 et vous pourrez le scanner pour effectuer le paiement. Si le client est un terminal mobile, il passera directement \u00e0 l'application WeChat pour le paiement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-next-step\"><strong>Prochaine \u00e9tape<\/strong><\/h2>\n\n\n\n<p>Vous pouvez ajouter d'autres fonctionnalit\u00e9s \u00e0 votre int\u00e9gration en fonction de vos besoins.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-webhook\"><a href=\"\/fr\/doc-2517709\/\">Cr\u00e9er un Webhook<\/a><\/h2>\n\n\n\n<p>\u00c9coutez les \u00e9v\u00e9nements sur votre compte WooshPay afin que votre int\u00e9gration puisse d\u00e9clencher automatiquement des r\u00e9actions. Cr\u00e9ez un webhook qui se concentre principalement sur enabled_events et url.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-refund\"><a href=\"\/fr\/api-51369554\/\">Cr\u00e9er un remboursement<\/a><\/h2>\n\n\n\n<p>Cr\u00e9ez un remboursement pour restituer des fonds \u00e0 votre client. Vous pouvez \u00e9galement effectuer des remboursements partiels, mais ils ne sont pas pris en charge par toutes les m\u00e9thodes de paiement. Un remboursement partiel consiste \u00e0 ne rembourser qu'une partie du montant de la transaction initiale.<\/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:\/\/wooshpay.com\/fr\/author\/zhaozixu\/"},"doc_category_info":[{"term_name":"Add more payment methods","term_url":"https:\/\/wooshpay.com\/fr\/docs-category\/add-more-payment-methods\/"}],"doc_tag_info":[{"term_name":"checkout","term_url":"https:\/\/wooshpay.com\/fr\/docs-tag\/checkout\/"},{"term_name":"open api","term_url":"https:\/\/wooshpay.com\/fr\/docs-tag\/open-api\/"},{"term_name":"payment","term_url":"https:\/\/wooshpay.com\/fr\/docs-tag\/payment\/"},{"term_name":"WeChat Pay","term_url":"https:\/\/wooshpay.com\/fr\/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:\/\/www.wooshpay.com\/docs\/wechat-pay\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\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:\/\/www.wooshpay.com\/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=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/\",\"url\":\"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/\",\"name\":\"WeChat Pay - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wooshpay.com\/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:\/\/www.wooshpay.com\/docs\/wechat-pay\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.wooshpay.com\/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:\/\/www.wooshpay.com\/docs\/wechat-pay\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.wooshpay.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WeChat Pay\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/#website\",\"url\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/\",\"name\":\"WooshPay\",\"description\":\"One-stop payment platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WeChat Pay - WooshPay","description":"WeChat Pay est un portefeuille num\u00e9rique int\u00e9gr\u00e9 \u00e0 la c\u00e9l\u00e8bre superapplication chinoise WeChat. Au fil des ans, WeChat Pay s'est impos\u00e9 comme une solution de paiement essentielle pour les entreprises qui cherchent \u00e0 entrer en contact avec les consommateurs chinois, tant au niveau national qu'international. WeChat s'est transform\u00e9 en un \u00e9cosyst\u00e8me complet, offrant aux acheteurs chinois la possibilit\u00e9 de discuter, de consulter des produits ou des services et d'effectuer des paiements de mani\u00e8re transparente au sein d'une plateforme unifi\u00e9e. Cette int\u00e9gration a rendu l'exp\u00e9rience d'achat aussi facile qu'une conversation amicale avec vos compagnons, le tout en un seul endroit.","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:\/\/www.wooshpay.com\/docs\/wechat-pay\/","og_locale":"fr_FR","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:\/\/www.wooshpay.com\/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":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/","url":"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/","name":"WeChat Pay - WooshPay","isPartOf":{"@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/#primaryimage"},"image":{"@id":"https:\/\/www.wooshpay.com\/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 est un portefeuille num\u00e9rique int\u00e9gr\u00e9 \u00e0 la c\u00e9l\u00e8bre superapplication chinoise WeChat. Au fil des ans, WeChat Pay s'est impos\u00e9 comme une solution de paiement essentielle pour les entreprises qui cherchent \u00e0 entrer en contact avec les consommateurs chinois, tant au niveau national qu'international. WeChat s'est transform\u00e9 en un \u00e9cosyst\u00e8me complet, offrant aux acheteurs chinois la possibilit\u00e9 de discuter, de consulter des produits ou des services et d'effectuer des paiements de mani\u00e8re transparente au sein d'une plateforme unifi\u00e9e. Cette int\u00e9gration a rendu l'exp\u00e9rience d'achat aussi facile qu'une conversation amicale avec vos compagnons, le tout en un seul endroit.","breadcrumb":{"@id":"https:\/\/www.wooshpay.com\/docs\/wechat-pay\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wooshpay.com\/docs\/wechat-pay\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.wooshpay.com\/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:\/\/www.wooshpay.com\/docs\/wechat-pay\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.wooshpay.com\/docs\/"},{"@type":"ListItem","position":3,"name":"WeChat Pay"}]},{"@type":"WebSite","@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/#website","url":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/","name":"WooshPay","description":"Plate-forme de paiement unique","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"}]}},"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\/fr\/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\u2026","_links":{"self":[{"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/docs\/12046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/comments?post=12046"}],"version-history":[{"count":0,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/docs\/12046\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/media\/17289"}],"wp:attachment":[{"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/media?parent=12046"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/doc_category?post=12046"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wooshpay.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=12046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}