{"id":12063,"date":"2023-08-08T12:24:01","date_gmt":"2023-08-08T12:24:01","guid":{"rendered":"https:\/\/wooshpay.com\/?post_type=docs&#038;p=12063"},"modified":"2023-08-09T07:32:18","modified_gmt":"2023-08-09T07:32:18","password":"","slug":"unionpay","status":"publish","type":"docs","link":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/","title":{"rendered":"Sindicatos"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"h-characteristics\">Caracter\u00edsticas<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Caracter\u00edstica<\/th><th>Detalles<\/th><\/tr><\/thead><tbody><tr><td>Tratamiento de divisas<\/td><td>MYR\u3001CNY<\/td><\/tr><tr><td>Divisas de liquidaci\u00f3n<\/td><td>MYR<\/td><\/tr><tr><td>Importe m\u00ednimo de transacci\u00f3n<\/td><td>0,01MYR<\/td><\/tr><tr><td>Importe m\u00e1ximo de la transacci\u00f3n<\/td><td>2500MYR<\/td><\/tr><tr><td>Reembolsos<\/td><td>\u00d7<\/td><\/tr><tr><td>Reembolsos parciales<\/td><td>\u00d7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-payment-process\">Proceso de pago<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>El cliente elige pagar con unionpay y es redirigido a la p\u00e1gina de pago de unionpay<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/api.apifox.cn\/api\/v1\/projects\/1296482\/resources\/376731\/image-preview\" alt=\"imagen.png\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-server-to-server-integration\">Integraci\u00f3n de servidor a servidor<\/h2>\n\n\n\n<p>Con unionpay, los clientes pagan redirigi\u00e9ndose desde su sitio web o aplicaci\u00f3n, finalizan el pago y vuelven a su sitio web o aplicaci\u00f3n, donde recibir\u00e1 una notificaci\u00f3n inmediata sobre si el pago se ha realizado correctamente o no.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-overview\">Visi\u00f3n general<\/h3>\n\n\n\n<p>Para la integraci\u00f3n directa de la API, puede crear la intenci\u00f3n de pago y obtener la url en un solo paso, la siguiente es la demostraci\u00f3n de la creaci\u00f3n de intenciones de pago:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Crear una PaymentIntent<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-create-a-paymentintent\">Crear una PaymentIntent<\/h4>\n\n\n\n<p>Un PaymentIntent es un objeto que representa su intenci\u00f3n de cobrar el pago de su cliente y realiza un seguimiento del ciclo de vida del proceso de pago. Cree un PaymentIntent en su servidor y especifique el importe a cobrar y una divisa admitida. Si ya dispone de una integraci\u00f3n de Payment Intents, a\u00f1ada unionpay a la lista de tipos de m\u00e9todos de pago.<\/p>\n\n\n\n<p><strong><em>Solicitar<\/em><\/strong> <a href=\"\/es\/api-42631218\/\">Crear una PaymentIntent<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"importe\":1050\n    \"moneda\": \"CNY\",\n    \"confirmar\":true,\n    \"payment_method_data\" : {\n        \"tipo\": \"unionpay\"\n    },\n    \"return_url\": \"https:\/\/your.website\"\n}<\/code><\/pre>\n\n\n\n<p><strong><em>Respuesta<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\": \"pi_1646357082686881792\",\n    \"object\": \"payment_intent\",\n    \"creado\": 1681357091000,\n    \"moneda\": \"CNY\",\n    \"importe\": 1050,\n    \"estado\": \"requires_action\",\n    \"livemode\": true,\n    \"client_secret\": \"pi_1646357082686881792_secret_WrLaoJjPfB9FaWPfaqsxQyPx\",\n    \"next_action\": {\n        \"tipo\": \"unionpay_handle_redirect\",\n        \"unionpay_handle_redirect\": {\n            \"url\": \"https:\/\/api.wooshpay.com\/v1\/receives\/paydibs\/pay\/1646357082686881792\"\n        }\n    },\n    \"payment_method_types\": [\n        \"grabpay\",\n        \"mcash\",\n        \"boost\",\n        \"touchngo\",\n        \"unionpay\"\n    ],\n    \"confirmation_method\": \"automatic\",\n    \"return_url\": \"https:\/\/your.website\",\n    \"payment_method\": \"pm_1646357082556858368\",\n    \"capture_method\": \"automatic\"\n}<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Characteristics Feature Details Processing currencies MYR\u3001CNY Settlement currencies MYR Minimum transaction amount 0.01MYR Maximum transaction amount 2500MYR Refunds \u00d7 Partial Refunds \u00d7 Payment process Server to Server integration Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on [&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":[324,323,319,401],"class_list":["post-12063","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-add-more-payment-methods","doc_tag-open-api","doc_tag-payment","doc_tag-payment-flow","doc_tag-union-pay"],"year_month":"2026-04","word_count":234,"total_views":"2133","reactions":{"happy":"1","normal":"1","sad":"1"},"author_info":{"name":"zhaozixu","author_nicename":"zhaozixu","author_url":"https:\/\/wooshpay.com\/es\/author\/zhaozixu\/"},"doc_category_info":[{"term_name":"Add more payment methods","term_url":"https:\/\/wooshpay.com\/es\/docs-category\/add-more-payment-methods\/"}],"doc_tag_info":[{"term_name":"open api","term_url":"https:\/\/wooshpay.com\/es\/docs-tag\/open-api\/"},{"term_name":"payment","term_url":"https:\/\/wooshpay.com\/es\/docs-tag\/payment\/"},{"term_name":"Payment Flow","term_url":"https:\/\/wooshpay.com\/es\/docs-tag\/payment-flow\/"},{"term_name":"union pay","term_url":"https:\/\/wooshpay.com\/es\/docs-tag\/union-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>Union Pay - WooshPay<\/title>\n<meta name=\"description\" content=\"Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on whether the payment succeeds or fails.\" \/>\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\/es\/docs\/unionpay\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Union Pay\" \/>\n<meta property=\"og:description\" content=\"Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on whether the payment succeeds or fails.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/\" \/>\n<meta property=\"og:site_name\" content=\"WooshPay\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T07:32:18+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=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/\",\"url\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/\",\"name\":\"Union Pay - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png\",\"datePublished\":\"2023-08-08T12:24:01+00:00\",\"dateModified\":\"2023-08-09T07:32:18+00:00\",\"description\":\"Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on whether the payment succeeds or fails.\",\"breadcrumb\":{\"@id\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#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\/es\/docs\/unionpay\/#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\":\"Union 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\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sindicatos - WooshPay","description":"Con unionpay, los clientes pagan redirigi\u00e9ndose desde su sitio web o aplicaci\u00f3n, finalizan el pago y vuelven a su sitio web o aplicaci\u00f3n, donde recibir\u00e1 una notificaci\u00f3n inmediata sobre si el pago se ha realizado correctamente o no.","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\/es\/docs\/unionpay\/","og_locale":"es_ES","og_type":"article","og_title":"Union Pay","og_description":"Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on whether the payment succeeds or fails.","og_url":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/","og_site_name":"WooshPay","article_modified_time":"2023-08-09T07:32:18+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":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/","url":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/","name":"Sindicatos - WooshPay","isPartOf":{"@id":"https:\/\/www.wooshpay.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#primaryimage"},"image":{"@id":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#primaryimage"},"thumbnailUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2024\/07\/pic_home_new-2.png","datePublished":"2023-08-08T12:24:01+00:00","dateModified":"2023-08-09T07:32:18+00:00","description":"Con unionpay, los clientes pagan redirigi\u00e9ndose desde su sitio web o aplicaci\u00f3n, finalizan el pago y vuelven a su sitio web o aplicaci\u00f3n, donde recibir\u00e1 una notificaci\u00f3n inmediata sobre si el pago se ha realizado correctamente o no.","breadcrumb":{"@id":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wooshpay.com\/es\/docs\/unionpay\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/wooshpay.com\/es\/docs\/unionpay\/#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\/es\/docs\/unionpay\/#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":"Union Pay"}]},{"@type":"WebSite","@id":"https:\/\/www.wooshpay.com\/zh\/#website","url":"https:\/\/www.wooshpay.com\/zh\/","name":"WooshPay","description":"Plataforma de pago \u00fanica","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":"es"}]}},"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\/es\/author\/zhaozixu\/"},"uagb_comment_info":0,"uagb_excerpt":"Characteristics Feature Details Processing currencies MYR\u3001CNY Settlement currencies MYR Minimum transaction amount 0.01MYR Maximum transaction amount 2500MYR Refunds \u00d7 Partial Refunds \u00d7 Payment process Server to Server integration Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on&hellip;","_links":{"self":[{"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/docs\/12063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/comments?post=12063"}],"version-history":[{"count":0,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/docs\/12063\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/media\/17289"}],"wp:attachment":[{"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/media?parent=12063"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/doc_category?post=12063"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wooshpay.com\/es\/wp-json\/wp\/v2\/doc_tag?post=12063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}