{"id":11944,"date":"2023-08-05T08:38:51","date_gmt":"2023-08-05T08:38:51","guid":{"rendered":"https:\/\/wooshpay.com\/?post_type=docs&#038;p=11944"},"modified":"2023-08-09T07:32:21","modified_gmt":"2023-08-09T07:32:21","password":"","slug":"wooshpay-direct-api","status":"publish","type":"docs","link":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wooshpay-direct-api\/","title":{"rendered":"WooshPay \u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>\u786e\u4fdd\u652f\u4ed8\u65b9\u5f0f\u7b26\u5408 PCI \u6807\u51c6\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4efb\u4f55\u53c2\u4e0e\u5904\u7406\u3001\u4f20\u8f93\u6216\u5b58\u50a8\u5361\u7247\u6570\u636e\u7684\u4eba\u5458\u90fd\u5fc5\u987b\u9075\u5b88\u652f\u4ed8\u5361\u884c\u4e1a\u6570\u636e\u5b89\u5168\u6807\u51c6\uff08PCI DSS\uff09\u3002PCI\u5408\u89c4\u662f\u4e00\u9879\u5171\u540c\u8d23\u4efb\uff0c\u9002\u7528\u4e8eWooshPay\u548c\u60a8\u7684\u4f01\u4e1a\u3002\u5728\u63a5\u53d7\u4ed8\u6b3e\u65f6\uff0c\u60a8\u5fc5\u987b\u4ee5\u7b26\u5408PCI\u6807\u51c6\u7684\u65b9\u5f0f\u8fdb\u884c\u3002\u7b26\u5408PCI\u6807\u51c6\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u5c31\u662f\u5b8c\u5168\u4e0d\u67e5\u770b\uff08\u6216\u8bbf\u95ee\uff09\u94f6\u884c\u5361\u6570\u636e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 Payment Intents API \u5efa\u7acb\u4e00\u4e2a\u53ef\u4ee5\u5904\u7406\u590d\u6742\u652f\u4ed8\u6d41\u7a0b\u7684\u96c6\u6210\u3002\u5b83\u53ef\u4ee5\u8ddf\u8e2a\u652f\u4ed8\u4ece\u521b\u5efa\u5230\u7ed3\u8d26\u7684\u6574\u4e2a\u8fc7\u7a0b\uff0c\u5e76\u5728\u9700\u8981\u65f6\u89e6\u53d1\u989d\u5916\u7684\u8eab\u4efd\u9a8c\u8bc1\u6b65\u9aa4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 Payment Intents API \u7684\u4e00\u4e9b\u4f18\u52bf\u5305\u62ec<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u81ea\u52a8\u9a8c\u8bc1\u5904\u7406<\/li>\n\n\n\n<li>\u65e0\u53cc\u91cd\u6536\u8d39<\/li>\n\n\n\n<li>\u65e0\u60f0\u6027\u5173\u952e\u95ee\u9898<\/li>\n\n\n\n<li>\u652f\u6301\u5f3a\u5ba2\u6237\u8eab\u4efd\u9a8c\u8bc1\uff08SCA\uff09\u548c\u7c7b\u4f3c\u7684\u76d1\u7ba1\u53d8\u5316<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-a-complete-set-of-apis\">\u4e00\u5957\u5b8c\u6574\u7684\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06\u652f\u4ed8\u610f\u56fe API \u4e0e\u8bbe\u7f6e\u610f\u56fe\u548c\u652f\u4ed8\u65b9\u6cd5 API \u7ed3\u5408\u4f7f\u7528\u3002\u8fd9\u4e9b API \u53ef\u5e2e\u52a9\u60a8\u5904\u7406\u52a8\u6001\u652f\u4ed8\uff08\u4f8b\u5982\uff0c3D \u5b89\u5168\u7b49\u9644\u52a0\u8eab\u4efd\u9a8c\u8bc1\uff09\uff0c\u4e3a\u5411\u5176\u4ed6\u56fd\u5bb6\u6269\u5c55\u505a\u597d\u51c6\u5907\uff0c\u540c\u65f6\u5141\u8bb8\u60a8\u652f\u6301\u65b0\u7684\u6cd5\u89c4\u548c\u5730\u533a\u652f\u4ed8\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0e\u652f\u4ed8\u610f\u5411 API \u5efa\u7acb\u96c6\u6210\u6d89\u53ca\u4e24\u4e2a\u64cd\u4f5c\uff1a\u521b\u5efa\u548c\u786e\u8ba4\u652f\u4ed8\u610f\u5411\uff08PaymentIntent\uff09\u3002\u5728\u4e0b\u9762\u7684\u6bb5\u843d\u4e2d\uff0c\u6211\u4eec\u5c06\u6309\u652f\u4ed8\u6d41\u7a0b\u4ecb\u7ecd\u652f\u4ed8\u610f\u56fe API\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u975e 3DS \u652f\u4ed8\u6d41\u7a0b<\/li>\n\n\n\n<li>3DS \u4ed8\u6b3e\u6d41\u7a0b<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-non-3ds-payment-flow\">\u975e 3DS \u652f\u4ed8\u6d41\u7a0b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u975e 3ds \u652f\u4ed8\u6d41\u7a0b\u6e05\u695a\u5730\u8bf4\u660e\u4e86 WooshPay \u5728\u4ece\u5ba2\u6237\u53d1\u8d77\u652f\u4ed8\u5230\u6700\u7ec8\u5b8c\u6210\u7684\u6574\u4e2a\u652f\u4ed8\u6d41\u7a0b\u4e2d\u7684\u4f5c\u7528\u3002WooshPay \u4f7f\u7528 PaymentIntent \u5bf9\u8c61\u6765\u8868\u793a\u60a8\u5411\u5ba2\u6237\u6536\u6b3e\u7684\u610f\u56fe\uff0c\u5e76\u5728\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u8ddf\u8e2a\u6536\u8d39\u5c1d\u8bd5\u548c\u4ed8\u6b3e\u72b6\u6001\u7684\u53d8\u5316\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kroki.io\/plantuml\/svg\/eNp9UrtuwzAM3P0V_AH_gIcgRYaiW9AOnVmZjgnoYYi0jfbrS9VJYRlFNUig7njkUTqLYtY5-Gaykx1PGBUus2gKlAEFHNSQZ7KjAFwBb5SXLUOq-_eUZJzw8wfRxpZrT447eE6gCQwJRXDCGxnE7Uk6odhDyr3JcRxSDqicYoNOeUElKyBG0w4umUp83TReotq-o2kj2hZBeCWdc4RI64Hc055ehbtWrzkt3BN8sPccb9CTInsBtD4Hjuj5ix5O7h5sHgY-3N0T_rKQ4sA5_O-hMJ9UKUz6W-borRKAlXW0ZNRZDh5ls1S1l0lmv6tqT1tcOKONaT3SqiHtAsuydTZh-0_fIgXUXA==\" alt=\"https:\/\/kroki.io\/plantuml\/svg\/eNp9UrtuwzAM3P0V_AH_gIcgRYaiW9AOnVmZjgnoYYi0jfbrS9VJYRlFNUig7njkUTqLYtY5-Gaykx1PGBUus2gKlAEFHNSQZ7KjAFwBb5SXLUOq-_eUZJzw8wfRxpZrT447eE6gCQwJRXDCGxnE7Uk6odhDyr3JcRxSDqicYoNOeUElKyBG0w4umUp83TReotq-o2kj2hZBeCWdc4RI64Hc055ehbtWrzkt3BN8sPccb9CTInsBtD4Hjuj5ix5O7h5sHgY-3N0T_rKQ4sA5_O-hMJ9UKUz6W-borRKAlXW0ZNRZDh5ls1S1l0lmv6tqT1tcOKONaT3SqiHtAsuydTZh-0_fIgXUXA==\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">PaymentIntent \u4e2d\u8fd8\u5305\u62ec\u7ed3\u8d26\u8fc7\u7a0b\u4e2d\u5411\u5ba2\u6237\u663e\u793a\u7684\u4ed8\u6b3e\u65b9\u5f0f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 <code>\u4ed8\u6b3e\u65b9\u5f0f\u6570\u636e<\/code> \u53c2\u6570\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PaymentIntent \u5305\u542b\u4e00\u4e2a\u5ba2\u6237\u7aef\u79d8\u5bc6\uff0c\u8fd9\u662f\u5355\u4e2a PaymentIntent \u72ec\u6709\u7684\u5bc6\u94a5\u3002\u8981\u4f7f\u7528\u5ba2\u6237\u79d8\u5bc6\uff0c\u5fc5\u987b\u4ece\u670d\u52a1\u5668\u4e0a\u7684 PaymentIntent \u83b7\u53d6\u5b83\uff0c\u5e76\u5c06\u5176\u4f20\u9012\u7ed9\u5ba2\u6237\u7aef\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u65b9\u6cd5\u5c06\u5ba2\u6237\u673a\u5bc6\u94a5\u4f20\u9001\u5230\u5ba2\u6237\u7aef\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u8981\u6c42<\/em><\/strong> <a href=\"\/zh\/api-42631218\/\">\u521b\u5efa PaymentIntent<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"amount\":1\u3001\n    \"currency\": \"USD\"\u3001\n    \"\u786e\u8ba4\":true\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\":{\n        \u5361\":{\n            \"request_three_d_secure\": \"auto\" }\n        }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u6570\u636e\"\uff1a{\n        \"\u7c7b\u578b\": \"\u5361\"\u3001\n        \u5361\":{\n            \"cvc\": \"123\"\u3001\n            \"number\":\"4111111111111111\",\n            \"exp_month\": \"03\"\u3001\n            \"\u8fc7\u671f\u5e74\": \"2027\"\n        }\n    },\n    \"merchant_order_id\":\"id1111\",\n    \"return_url\": \"https:\/\/wooshpay.com\" }.\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u56de\u5e94<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\":\"pi_1583366366029676544\",\n    \"\u5bf9\u8c61\": \"payment_intent\"\u3001\n    \"created\":1666338934000,\n    \"currency\": \"USD\"\u3001\n    \"\u91d1\u989d\":1\u3001\n    \"status\": \"succeeded\"\u3001\n    \"description\":null\u3001\n    \"metadata\":null\u3001\n    \"livemode\":false\u3001\n    \"merchant_order_id\":\"id1111\",\n    \"client_secret\":\"pi_1583366366029676544_secret_WKtUP8YmKmUKxcQPV0Zrmxym\",\n    \"last_payment_error\":null\u3001\n    \"next_action\":\"\"\u3001\n    \"payment_method_types\":\"[\\\"card\\\",\\\"alipay\\\",\\\"wechat_pay\\\",\\\"alipayplus\\\",\\\"klarna\\\",\\\"ideal\\\",\\\"giropay\\\",\\\"sofort\\\",\\\"eps\\\",\\\"trustly\\\",\\\"bancontact\\\",\\\"p24\\\",\\\"sepa\\\"]\",\n    \"receipt_email\":null\u3001\n    \"statement_descriptor\":null\u3001\n    \"statement_descriptor_suffix\":null\u3001\n    \"cancel_at\":\"\"\u3001\n    \"cancellation_reason\":\u7a7a\u3001\n    \"\u786e\u8ba4\u65b9\u5f0f\": \"\u81ea\u52a8\"\u3001\n    \"payment_method_options\":\"{\\\"card\\\":{\\\"request_three_d_secure\\\":\\\"auto\\\",\\\"capture_method\\\":\\\"automatic\\\"}}\",\n    \"3ds_status\":null\u3001\n    \"amount_capturable\":null\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3ds-payment-flow\">3DS \u4ed8\u6b3e\u6d41\u7a0b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c3d\u7ba1\u6b27\u6d32\u6b63\u5728\u4e0d\u5747\u8861\u5730\u9010\u6b65\u5b9e\u65bd\uff0c\u4f46\u5982\u679c SCA \u6cd5\u89c4\u5bf9\u60a8\u4ea7\u751f\u5f71\u54cd\uff0c\u60a8\u5e94\u5c3d\u5feb\u4e3a\u60a8\u7684\u652f\u4ed8\u6d41\u7a0b\u505a\u597d SCA \u51c6\u5907\u3002\u6b27\u6d32\u7684\u5ba2\u6237\u8eab\u4efd\u9a8c\u8bc1\u6cd5\u89c4\u8981\u6c42\u5728\u94f6\u884c\u5361\u652f\u4ed8\u4e2d\u4f7f\u7528 3DS\u3002\u5728\u5176\u4ed6\u5730\u533a\uff0c3DS \u662f\u53ef\u9009\u7684\uff0c\u4f46\u60a8\u4ecd\u53ef\u5c06\u5176\u7528\u4f5c\u51cf\u5c11\u6b3a\u8bc8\u7684\u5de5\u5177\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kroki.io\/plantuml\/svg\/eNrdlc1u2zAMx-9-Ct6yHdoHyKFokQLDgB26BsMuAQJWYmoCsuRKVIrs6Uf5I7W9dMC223KIY_FD5J8_KbdJMEpuXNXqkw236AU2OUloKAImMDA3OSZ9FAPPDFuKxz4izda_h5DqFk-dRSr9mKsbw2v4FEACqKUpCVt8JjXx1U1aJ_IWQrSajv0hxAaFg6_QCB9RSDdI6iZr2EQq7w99js9e9HviJlWSq5IQHkly9ODpdeFsaeo-e52U-hDDkS3BEzvH_hksCbJLgFrngT06_kFjJ0MP0DUxdjcEXGoh-APHZl4WvLLUYDDaC5FdVyX2ToSaVs4bj83eZan1nU0nG0R6yRzJXu_8IMOFvRQDyWnnYTW678uOwa-6Ji0d2RBYFAQTnKPOBh_u7zcfIUd3vRSyKv0V6ToZ1K14zeU9_1SQimbF-1G9depahNUajOw1aqUQQM3Wkgc-RGyol1i6TsNYz1hjIeaSWgtZ3pYXKvYy9sX0RRRMY6dcKQfQ2sLA4L_nXkV8m_awtDfdUdknMhoN3x6_wEumeFK30oRQTLDzUqPAKWQ9OW3rxpkZ9JATlZ2VOy36cAKtfjE5TCkY1jZtP8Ti0eZoakx0DfORwFnjjQuaearkGr52hb17NHRC1QjsJdep3FPEByA3NeqI_DP9CYsXSFQ8ccl2yq4X35w3KaSN-A1AzYyFJxwFmFE4CBSa1lFZGqPOwG3zU8MySVe9y9H_gtGCo3_EaHYDLO-MvyfsNxSlbAyRLfSEeIYq7UeVVcI62NWimAGf7fQS72H79d5awz2n1uFp6fles91xqm41t_7x_gTta7Cb\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 3DS \u7cfb\u7edf\u4e2d\uff0c\u901a\u5e38\u662f\u5f15\u5bfc\u5ba2\u6237\u8fdb\u5165\u94f6\u884c\u7f51\u7ad9\u4e0a\u7684\u8ba4\u8bc1\u9875\u9762\uff0c\u7136\u540e\u8f93\u5165\u4e0e\u94f6\u884c\u5361\u76f8\u5173\u7684\u5bc6\u7801\u6216\u53d1\u9001\u5230\u624b\u673a\u4e0a\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u8981\u6c42<\/em><\/strong> <a href=\"\/zh\/api-42631218\/\">\u521b\u5efa PaymentIntent<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"amount\":1\u3001\n    \"currency\": \"USD\"\u3001\n    \"\u786e\u8ba4\":true\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\":{\n        \u5361\":{\n            \"request_three_d_secure\": \"any\"\u3001\n            \"capture_method\": \"automatic\" }\n        }\n    },\n    \"\u4ed8\u6b3e\u65b9\u5f0f\"\uff1a{\n        \"\u7c7b\u578b\"\uff1a\"\u5361\"\u3001\n        \u5361\":{\n            \"cvc\": \"123\"\u3001\n            \"number\":\"4111111111111111\",\n            \"exp_month\": \"03\"\u3001\n            \"\u8fc7\u671f\u5e74\": \"2027\"\n        }\n    },\n    \"merchant_order_id\":\"id1111\",\n    \"return_url\": \"https:\/\/wooshpay.com\" }.\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u56de\u5e94<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\":\"pi_1583367070215569408\",\n    \"\u5bf9\u8c61\": \"payment_intent\"\u3001\n    \"created\":1666339102000,\n    \"currency\": \"USD\"\u3001\n    \"\u91d1\u989d\":1\u3001\n    \"status\": \"requires_action\"\u3001\n    \"description\":null\u3001\n    \"metadata\":null\u3001\n    \"livemode\":false\u3001\n    \"merchant_order_id\":\"id1111\",\n    \"client_secret\":\"pi_1583367070215569408_secret_gXwuHGXjHgMqVw35oBInuYyC\",\n    \"last_payment_error\":null\u3001\n    \"next_action\":\"{\\\"ddc_redirect\\\":{\\\"return_url\\\":\\\"https:\/\/wooshpay.com\\\",\\\"url\\\":\\\"https:\/\/jstest.wooshpay.com\/v1\/3ds\/index.html?c=2&amp;type=ddc&amp;dataId=pi_1583367070215569408&amp;token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjp7InJlcXVlc3R0eXBlZGVzY3JpcHRpb25zIjpbIlRIUkVFRFFVRVJZIl0sImV4cGlyeWRhdGUiOiIwMy8yMDI3IiwiY3VycmVuY3lpc28zYSI6IlVTRCIsInNpdGVyZWZlcmVuY2UiOiJ0ZXN0X3N3b29zaHRyYW5zZmVybHRkOTczMjkiLCJiYXNlYW1vdW50IjoiMSIsInBhbiI6IjQxMTExMTExMTExMTExMTEiLCJzZWN1cml0eWNvZGUiOiIxMjMiLCJhY2NvdW50dHlwZWRlc2NyaXB0aW9uIjoiRUNPTSIsIm9yZGVycmVmZXJlbmNlIjoicGlfMTU4MzM2NzA3MDIxNTU2OTQwOCJ9LCJpc3MiOiJqd3RAc3dvb3NodHJhbnNmZXIuY29tIiwiaWF0IjoxNjY2MzM5MTAyfQ.L7CEYYRo95SesCt6WIsXr51MgHZKjkIDfmkooFTaUuo\\\"},\\\"type\\\":\\\"ddc_redirect\\\"}\"\u3001\n    \"payment_method_types\":\"[\\\"card\\\",\\\"alipay\\\",\\\"wechat_pay\\\",\\\"alipayplus\\\",\\\"klarna\\\",\\\"ideal\\\",\\\"giropay\\\",\\\"sofort\\\",\\\"eps\\\",\\\"trustly\\\",\\\"bancontact\\\",\\\"p24\\\",\\\"sepa\\\"]\",\n    \"receipt_email\":null\u3001\n    \"statement_descriptor\":null\u3001\n    \"statement_descriptor_suffix\":null\u3001\n    \"cancel_at\":\"\"\u3001\n    \"cancellation_reason\":\u7a7a\u3001\n    \"\u786e\u8ba4\u65b9\u5f0f\": \"\u81ea\u52a8\"\u3001\n    \"payment_method_options\":\"{\\\"card\\\":{\\\"request_three_d_secure\\\":\\\"any\\\",\\\"capture_method\\\":\\\"automatic\\\"}}\",\n    \"3ds_status\":null\u3001\n    \"amount_capturable\":null\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-controlling-when-to-present-the-3d-secure-flow\">\u63a7\u5236\u4f55\u65f6\u663e\u793a 3D \u5b89\u5168\u6d41\u7a0b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WooshPay\u4f1a\u5728\u76d1\u7ba1\u673a\u6784\u8981\u6c42\u7684\u60c5\u51b5\u4e0b\u81ea\u52a8\u89e6\u53d13DS\uff0c\u4f8b\u5982 \"\u5f3a\u5ba2\u6237\u8eab\u4efd\u9a8c\u8bc1\"\u3002\u5f53\u60a8\u8fd0\u884c3D\u5b89\u5168\u65f6\uff0cWooshPay\u4f1a\u8981\u6c42\u60a8\u7684\u5ba2\u6237\u6267\u884c\u8eab\u4efd\u9a8c\u8bc1\uff0c\u4ee5\u5b8c\u6210\u652f\u4ed8\uff08\u5982\u679c3DS\u8eab\u4efd\u9a8c\u8bc1\u9002\u7528\u4e8e\u67d0\u5f20\u5361\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u94f6\u884c\u5361\u4e0d\u652f\u6301 3DS \u6216\u5728\u9a8c\u8bc1\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u9519\u8bef\uff0c\u652f\u4ed8\u4ecd\u53ef\u6b63\u5e38\u8fdb\u884c\u3002\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u65f6\uff0c\u8d23\u4efb\u4e00\u822c\u4e0d\u4f1a\u8f6c\u79fb\u5230\u53d1\u5361\u884c\uff0c\u56e0\u4e3a 3DS \u8eab\u4efd\u9a8c\u8bc1\u5c1a\u672a\u6210\u529f\u8fdb\u884c\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\u6c7d\u8f66<\/code><br>3DS \u7684\u9ed8\u8ba4\u53c2\u6570\u4e3a <code>\u6c7d\u8f66<\/code>WooshPay \u7684\u98ce\u9669\u63a7\u5236\u5c06\u51b3\u5b9a\u662f\u5426\u6267\u884c 3DS\u3002\u8981\u624b\u52a8\u89e6\u53d1 3DS\uff0c\u8bf7\u8bbe\u7f6e <code>\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879[\u5361][request_three_d_secure\uff3d<\/code> \u5728\u521b\u5efa\u6216\u786e\u8ba4 PaymentIntent \u6216 SetupIntent \u65f6\uff0c\u53ef\u5c06\"... \"\u6539\u4e3a\"...\"\u3002<\/li>\n\n\n\n<li><code>\u4efb\u4f55<\/code><br>\u5f53\u60a8\u8bbe\u7f6e <code>\u8bf7\u6c42\u4fdd\u62a4<\/code> \u81f3 <code>\u4efb\u4f55<\/code>WooshPay \u8981\u6c42\u60a8\u7684\u5ba2\u6237\u6267\u884c\u8eab\u4efd\u9a8c\u8bc1\uff0c\u4ee5\u4fbf\u5728\u5361\u53ef\u7528 3DS \u8eab\u4efd\u9a8c\u8bc1\u7684\u60c5\u51b5\u4e0b\u6210\u529f\u5b8c\u6210\u652f\u4ed8\u3002\u5982\u679c\u7ed9\u5b9a\u7684\u5361\u6ca1\u67093DS\u9a8c\u8bc1\uff0c\u5219\u4ed8\u6b3e\u6b63\u5e38\u8fdb\u884c\u3002<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Ensure PCI compliance for card as payment method. Anyone involved with the processing, transmission, or storage of card data must comply with the Payment Card Industry Data Security Standards (PCI DSS). PCI compliance is a shared responsibility and applies to both WooshPay and your business. When accepting payments, you must do so in a PCI [&hellip;]<\/p>","protected":false},"author":6,"featured_media":11946,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"doc_category":[315],"doc_tag":[325,324,319],"class_list":["post-11944","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-online-payments","doc_tag-3d-secure","doc_tag-open-api","doc_tag-payment-flow"],"year_month":"2026-06","word_count":973,"total_views":"2281","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":"Online Payments","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-category\/online-payments\/"}],"doc_tag_info":[{"term_name":"3D secure","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/3d-secure\/"},{"term_name":"open api","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/open-api\/"},{"term_name":"Payment Flow","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/payment-flow\/"}],"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>WooshPay Direct API - WooshPay<\/title>\n<meta name=\"description\" content=\"Use the Payment Intents API together with the Setup Intents and Payment Methods APIs. These APIs help you handle dynamic payments (for example, additional authentication like 3D Secure) and prepare you for expansion to other countries while allowing you to support new regulations and regional payment methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooshPay Direct API\" \/>\n<meta property=\"og:description\" content=\"Use the Payment Intents API together with the Setup Intents and Payment Methods APIs. These APIs help you handle dynamic payments (for example, additional authentication like 3D Secure) and prepare you for expansion to other countries while allowing you to support new regulations and regional payment methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/\" \/>\n<meta property=\"og:site_name\" content=\"WooshPay\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T07:32:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1916\" \/>\n\t<meta property=\"og:image:height\" content=\"1044\" \/>\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=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/\",\"url\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/\",\"name\":\"WooshPay Direct API - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png\",\"datePublished\":\"2023-08-05T08:38:51+00:00\",\"dateModified\":\"2023-08-09T07:32:21+00:00\",\"description\":\"Use the Payment Intents API together with the Setup Intents and Payment Methods APIs. These APIs help you handle dynamic payments (for example, additional authentication like 3D Secure) and prepare you for expansion to other countries while allowing you to support new regulations and regional payment methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage\",\"url\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png\",\"contentUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png\",\"width\":1916,\"height\":1044,\"caption\":\"3ds flow\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.wooshpay.com\/ja\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WooshPay Direct API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/#website\",\"url\":\"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/\",\"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\/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":"WooshPay \u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3 - WooshPay","description":"\u5c06\u652f\u4ed8\u610f\u56fe API \u4e0e\u8bbe\u7f6e\u610f\u56fe\u548c\u652f\u4ed8\u65b9\u6cd5 API \u7ed3\u5408\u4f7f\u7528\u3002\u8fd9\u4e9b API \u53ef\u5e2e\u52a9\u60a8\u5904\u7406\u52a8\u6001\u652f\u4ed8\uff08\u4f8b\u5982\uff0c3D \u5b89\u5168\u7b49\u9644\u52a0\u8eab\u4efd\u9a8c\u8bc1\uff09\uff0c\u4e3a\u5411\u5176\u4ed6\u56fd\u5bb6\u6269\u5c55\u505a\u597d\u51c6\u5907\uff0c\u540c\u65f6\u5141\u8bb8\u60a8\u652f\u6301\u65b0\u7684\u6cd5\u89c4\u548c\u5730\u533a\u652f\u4ed8\u65b9\u6cd5\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:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/","og_locale":"zh_CN","og_type":"article","og_title":"WooshPay Direct API","og_description":"Use the Payment Intents API together with the Setup Intents and Payment Methods APIs. These APIs help you handle dynamic payments (for example, additional authentication like 3D Secure) and prepare you for expansion to other countries while allowing you to support new regulations and regional payment methods.","og_url":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/","og_site_name":"WooshPay","article_modified_time":"2023-08-09T07:32:21+00:00","og_image":[{"width":1916,"height":1044,"url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/","url":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/","name":"WooshPay \u76f4\u63a5\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3 - WooshPay","isPartOf":{"@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage"},"image":{"@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage"},"thumbnailUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png","datePublished":"2023-08-05T08:38:51+00:00","dateModified":"2023-08-09T07:32:21+00:00","description":"\u5c06\u652f\u4ed8\u610f\u56fe API \u4e0e\u8bbe\u7f6e\u610f\u56fe\u548c\u652f\u4ed8\u65b9\u6cd5 API \u7ed3\u5408\u4f7f\u7528\u3002\u8fd9\u4e9b API \u53ef\u5e2e\u52a9\u60a8\u5904\u7406\u52a8\u6001\u652f\u4ed8\uff08\u4f8b\u5982\uff0c3D \u5b89\u5168\u7b49\u9644\u52a0\u8eab\u4efd\u9a8c\u8bc1\uff09\uff0c\u4e3a\u5411\u5176\u4ed6\u56fd\u5bb6\u6269\u5c55\u505a\u597d\u51c6\u5907\uff0c\u540c\u65f6\u5141\u8bb8\u60a8\u652f\u6301\u65b0\u7684\u6cd5\u89c4\u548c\u5730\u533a\u652f\u4ed8\u65b9\u6cd5\u3002","breadcrumb":{"@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#primaryimage","url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png","contentUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png","width":1916,"height":1044,"caption":"3ds flow"},{"@type":"BreadcrumbList","@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/docs\/wooshpay-direct-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.wooshpay.com\/ja\/docs\/"},{"@type":"ListItem","position":3,"name":"WooshPay Direct API"}]},{"@type":"WebSite","@id":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/#website","url":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.com\/zh\/","name":"WooshPay","description":"\u4e00\u7ad9\u5f0f\u652f\u4ed8\u5e73\u53f0","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ec2-35-179-65-51.eu-west-2.compute.amazonaws.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\/2023\/08\/3ds-flow.png",1916,1044,false],"thumbnail":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-150x150.png",150,150,true],"medium":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-300x163.png",300,163,true],"medium_large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-768x418.png",768,418,true],"large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-1024x558.png",1024,558,true],"1536x1536":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-1536x837.png",1536,837,true],"2048x2048":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow.png",1916,1044,false],"trp-custom-language-flag":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/3ds-flow-18x10.png",18,10,true]},"uagb_author_info":{"display_name":"zhaozixu","author_link":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/author\/zhaozixu\/"},"uagb_comment_info":0,"uagb_excerpt":"Ensure PCI compliance for card as payment method. Anyone involved with the processing, transmission, or storage of card data must comply with the Payment Card Industry Data Security Standards (PCI DSS). PCI compliance is a shared responsibility and applies to both WooshPay and your business. When accepting payments, you must do so in a PCI&hellip;","_links":{"self":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/11944","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=11944"}],"version-history":[{"count":0,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/11944\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media\/11946"}],"wp:attachment":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media?parent=11944"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_category?post=11944"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_tag?post=11944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}