{"id":2827,"date":"2025-05-19T10:03:05","date_gmt":"2025-05-19T02:03:05","guid":{"rendered":"https:\/\/www.deekpay.com\/?p=2827"},"modified":"2025-05-19T10:03:05","modified_gmt":"2025-05-19T02:03:05","slug":"%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.deekpay.com\/ja\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/","title":{"rendered":"\u30d9\u30c8\u30ca\u30e0\u6c7a\u6e08API\u306b\u63a5\u7d9a\u3059\u308b\u306b\u306f\uff1f\u5b9f\u8df5\u7684\u306a\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u958b\u767a"},"content":{"rendered":"<h1>\u30d9\u30c8\u30ca\u30e0\u6c7a\u6e08API\u30a2\u30af\u30bb\u30b9\u958b\u767a\u5b9f\u8df5\u30ac\u30a4\u30c9<\/h1>\n<h2>I. \u30d9\u30c8\u30ca\u30e0\u306e\u4e3b\u8981\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6982\u8981<\/h2>\n<p>\u30d9\u30c8\u30ca\u30e0\u3067\u306e\u6c7a\u6e08API\u7d71\u5408\u306e\u305f\u3081\u306b\u8003\u616e\u3059\u3079\u304d\u4e3b\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3042\u308b\uff1a<\/p>\n<ol>\n<li><strong>\u30e2\u30e2\u30fb\u30a6\u30a9\u30ec\u30c3\u30c8<\/strong> - \u30d9\u30c8\u30ca\u30e0\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u96fb\u5b50\u8ca1\u5e03<\/li>\n<li><strong>\u30b6\u30ed\u30da\u30a4<\/strong> - Zalo\u30bd\u30fc\u30b7\u30e3\u30eb\u30fb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u5098\u4e0b\u306e\u6c7a\u6e08\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3<\/li>\n<li><strong>\u30d6\u30a4\u30a8\u30cc\u30da\u30a4<\/strong> - \u9280\u884c\u540c\u76df\u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u30fb\u30b5\u30fc\u30d3\u30b9<\/li>\n<li><strong>\u30d1\u30e6<\/strong> - \u591a\u304f\u306e\u30aa\u30d5\u30e9\u30a4\u30f3\u5e97\u8217\u3067\u306e\u652f\u6255\u3044\u65b9\u6cd5<\/li>\n<li><strong>\u30ef\u30f3\u30da\u30a4<\/strong> - Visa\/Mastercard\u30ed\u30fc\u30ab\u30ea\u30bc\u30fc\u30b7\u30e7\u30f3\u30fb\u30d7\u30ed\u30b0\u30e9\u30e0<\/li>\n<\/ol>\n<h2>\u30a2\u30af\u30bb\u30b9\u306e\u6e96\u5099<\/h2>\n<h3>1.\u30de\u30fc\u30c1\u30e3\u30f3\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u767b\u9332<\/h3>\n<ul>\n<li>\u30e2\u30e2 <a href=\"https:\/\/business.momo.vn\/\">https:\/\/business.momo.vn\/<\/a><\/li>\n<li>VNPAY\u3002 <a href=\"https:\/\/vnpay.vn\/merchant.html\">https:\/\/vnpay.vn\/merchant.html<\/a><\/li>\n<li>\u30b6\u30ed\u30da\u30a4 <a href=\"https:\/\/zalopay.vn\/business\/\">https:\/\/zalopay.vn\/business\/<\/a><\/li>\n<\/ul>\n<h3>2.API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/h3>\n<p>\u6700\u65b0\u306eAPI\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3001\u5404\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30bb\u30f3\u30bf\u30fc\u3067\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\uff1a<\/p>\n<ul>\n<li>Momo Developer Portal: https:\/\/developers.momo.vn\/<\/li>\n<li>VNPAY\u6280\u8853\u6587\u66f8\uff1ahttps:\/\/vnpay.vn\/category\/technical\/<\/li>\n<\/ul>\n<h2>III.MomoAPI\u30a2\u30af\u30bb\u30b9\u4f8b(PHP)<\/h2>\n<pre><code class=\"language-php\">&lt;?php<br>\r\nfunction execPostRequest($url, $data) {<br>\r\n    $ch = curl_init($url);<br>\r\n    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, &quot;POST&quot;);<br>\r\n    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));<br>\r\n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);<br>\r\n    curl_setopt($ch, CURLOPT_HTTPHEADER, array(<br>\r\n            'Content-Type: application\/json',<br>\r\n            'Content-Length: ' . strlen(json_encode($data)))<br>\r\n    );<br>\r\n    $result = curl_exec($ch);<br>\r\n    return json_decode($result); \/\/ decode response JSON to object PHP <br>\r\n}<br>\r\n<br>\r\n\/\/ Momo\u914d\u7f6e\u53c2\u6570 (\u4ece\u5546\u6237\u540e\u53f0\u83b7\u53d6)<br>\r\n$partnerCode = &quot;MOMOXXXX&quot;;<br>\r\n$accessKey = &quot;XXXXXXXXXX&quot;;<br>\r\n$secretKey = &quot;XXXXXXXXXXXXXXXXXXXXXXXX&quot;;<br>\r\n<br>\r\n\/\/\u8ba2\u5355\u4fe1\u606f\u8bbe\u7f6e <br>\r\n$orderId = time() .&quot;&quot;; \/\/ unique order ID <br>\r\n$orderInfo = &quot;Thanh to\u00e1n qua MoMo&quot;; \/\/ payment content description  <br>\r\n$amount = $_POST['total_amount']; \/\/ total amount need pay  <br>\r\n$notifyUrl = &quot;https:\/\/yourdomain.com\/momo_notify.php&quot;; \/\/ callback URL after payment success\/fail  <br>\r\n$returnUrl = &quot;https:\/\/yourdomain.com\/thankyou.php&quot;; \/\/ redirect URL after payment complete  <br>\r\n<br>\r\n\/\/\u751f\u6210\u7b7e\u540d(SHA256\u52a0\u5bc6)<br>\r\n$requestId= time().&quot;&quot;;<br>\r\n$rawHash= &quot;accessKey=&quot;.$accessKey.&quot;&amp;amount=&quot;.$amount.&quot;&amp;extraData=&amp;ipnUrl=&quot;.$notifyUrl.&quot;&amp;orderId=&quot;.$orderId.&quot;&amp;orderInfo=&quot;.$orderInfo.&quot;&amp;partnerCode=&quot;.$partnerCode.&quot;&amp;redirectUrl=&quot;.$returnUrl.&quot;&amp;requestId=&quot;.$requestId;<br>\r\n    <br>\r\nif(isset($_SERVER['HTTPS']) &amp;&amp; $_SERVER['HTTPS'] == 'on') {<br>\r\n   $base_url_payment='https';<br>\r\n} else {<br>\r\n   $base_url_payment='http';<br>\r\n}<br>\r\n    <br>\r\n\/\/\u62fc\u63a5\u5b8c\u6574\u8bf7\u6c42\u6570\u636e   <br>\r\narray (<br>\r\n        'partnerCode' =&gt; $partnerCode,<br>\r\n        'accessKey' =&gt; $accessKey,<br>\r\n        'requestId' =&gt; $requestId,<br>\r\n        'amount' =&gt; strval ($amount),<br>\r\n        'orderId' =&gt; strval ($order_id),<br>\r\n        ...<br>\r\n);<br>\r\n<br>\r\ntry {        <br>\r\n     \/* call api to momo server *\/     <br>\r\n     if(!empty($_POST)){         <br>\r\n         header('Location : '.execPostRequest(&quot;...&quot;,...));          <br>\r\n         exit();      <br>\r\n      }       <br>\r\n} catch(Exception ex){ ... }<br>\r\n?&gt;<br>\r\n<\/code><\/pre>\n<p>IV.VNPAY\u7d71\u5408\u306e\u4e3b\u306a\u30b9\u30c6\u30c3\u30d7\uff08Java\u306e\u4f8b\uff09<\/p>\n<pre><code class=\"language-java\">public class VNPayConfig {<br>\r\n    <br>\r\n    public static String vnp_PayUrl = \"https:\/\/sandbox.vnpayment.vn\/paymentv2\/vpcpay.html\"\uff1b<br>\r\n    public static String vnp_Returnurl = \"http:\/\/localhost:8080\/vnp_return.jsp\"\uff1b<br>\r\n    public static String vnp_TmnCode = \"YourTmnCodeHere\"\uff1b\t<br>\r\n    ...<br>\r\n    <br>\r\n    \/\/ HMAC-SHA512 \u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u5b89\u5168\u306a\u30cf\u30c3\u30b7\u30e5\u3092\u751f\u6210\u3059\u308b\u3002\t\t<br>\r\n    private static String hmacSHA512(final String key,final String data){.<br>\r\n        \u30c8\u30e9\u30a4<br>\r\n            Mac sha512_HMAC=Mac.getInstance(\"HmacSHA512\")\uff1b            <br>\r\n            SecretKeySpec secret_key=new Secret KeySpec(key.getBytes(), \"HmacSHA512\")\uff1b             <br>\r\n            sha512_HMAC.init(secret_key)\u3002              <br>\r\n            byte[] binary_data=sha512_HMAC.doFinal(data.getBytes())\uff1b               <br>\r\n            <br>\r\n           StringBuilder sb=new StringBuilder(binary_data.length*2)\uff1b                <br>\r\n           for(byte b : binary_data){\u3002                    <br>\r\n               sb.append(String.format(&quot;%02x&quot;,b &amp;0xff));                <br>\r\n           }                            <br>\r\n          sb.toString() \u3092\u8fd4\u3059\uff1b           <br>\r\n       }catch(Exception e){throw new RuntimeException(e);}.     <br>\r\n   }<br>\r\n   <br>\r\n   public Map createPayment(Long amount,String bankcode) throws UnsupportedEncodingException{<br>\r\n       Calendar cld=Calendar.getInstance()\uff1b<br>\r\n       SimpleDateFormat formatter=new SimpleDateFormat(\"yyyyMMddHHmmss\")\uff1b<br>\r\n       <br>\r\n       Map params=new HashMap()\uff1b<br>\r\n       params.put(\"vnp_Version\", \"2.1.0\")\uff1b<br>\r\n       params.put(\"vnp_Command\", \"pay\")\uff1b<br>\r\n       ...<br>\r\n       <br>\r\n       List fieldNames=new ArrayList(params.keySet())\uff1b<br>\r\n       Collections.sort(fieldNames)\u3002<br>\r\n       <br>\r\n      StringBuilder hashDataBuilder=new StringBuilder()\uff1b<br>\r\n      for(String fieldName : fieldNames){\u3002<br>\r\n          if(params.get(fieldName)\uff01=null&amp;&amp;!params.get(fieldName).isEmpty()){\u3002<br>\r\n              hashDataBuilder.append((fieldName+\"\"))\uff1b<br>\r\n              ...<br>\r\n          }<br>\r\n      }<br>\r\n      <br>\r\n      SecureRandom randomSecureRandom=SecureRandom.getInstanceStrong()\uff1b<br>\r\n      int randomNumber=(int)(randomSecure Random.nextDouble()*100000000)+1000000000\uff1b<br>\r\n      <br>\r\n      params.put(... ,String.valueOf(randomNumber))\uff1b<br>\r\n      <br>\r\n      \u3092\u8fd4\u3057\u307e\u3059\uff1b\t\t \t    \t    \t    \t    \t   \t    \t   \t    \t   \t    \t   \t    \t   \t    \t\t \t    \t    \t    \t\t\t \t\t \t    \t    \t\t\t \t\t \t    \t    \t\t\t \t\t \t    \t    \t\t\t\t\t\t<br>\r\n}<br>\r\n<\/code><\/pre>\n<p>V. \u3088\u304f\u3042\u308b\u554f\u984c\u3068\u30c7\u30d0\u30c3\u30b0\u306e\u30d2\u30f3\u30c8<\/p>\n<p>1.<strong>\u7f72\u540d\u691c\u8a3c\u306b\u5931\u6557<\/strong><\/p>\n<ul>\n<li>SHA256\/HMAC-SHA512\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5b9f\u88c5\u306f\u6b63\u3057\u3044\u3067\u3059\u304b\uff1f<\/li>\n<li>\u30ad\u30fc\u3068\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u9806\u756a\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5fe0\u5b9f\u3067\u3059\u304b\uff1f<\/li>\n<\/ul>\n<p>2.<strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u51e6\u7406<\/strong><\/p>\n<pre><code class=\"language-python\">    if verify_signature(request.json): #\u30ab\u30b9\u30bf\u30e0\u7f72\u540d\u691c\u8a3c\u6a5f\u80fd\t\t\t<br>\r\n        if result_code==0.<br>\r\n            logger.info(f \"\u652f\u6255\u3044\u6210\u529f:{trans_id}\")<br>\r\n    \u305d\u3046\u3067\u306a\u3051\u308c\u3070<br>\r\n        logger.warning(\"Invalid signature detected!\")<br>\r\n    return Response(status.HTTP_200_OK)<br>\r\n<\/code><\/pre>\n<p>3.<strong>\u30c6\u30b9\u30c8\u74b0\u5883\u306e\u63a8\u5968<\/strong><br \/>\n\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3082\u3001\u63a8\u5968\u3055\u308c\u308b\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\uff1a<\/p>\n<h1>\u30d9\u30c8\u30ca\u30e0\u6c7a\u6e08API\u30a2\u30af\u30bb\u30b9\u958b\u767a\u5b9f\u8df5\u30ac\u30a4\u30c9\uff08\u7d9a\u304d\uff09<\/h1>\n<h2>V. \u30c6\u30b9\u30c8\u74b0\u5883\u306e\u63a8\u5968\u3068\u30c7\u30d0\u30c3\u30b0\u6280\u8853\uff08\u7d9a\u304d\uff09<\/h2>\n<h3>3.1 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5225\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u74b0\u5883\u306e\u30a2\u30c9\u30ec\u30b9<\/h3>\n<ul>\n<li><strong>\u30e2\u30e2\u30fb\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9<\/strong>: <a href=\"https:\/\/test-payment.momo.vn\">https:\/\/test-payment.momo.vn<\/a><\/li>\n<li><strong>VNPAY\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9<\/strong>: <a href=\"https:\/\/sandbox.vnpayment.vn\/apis\/\">https:\/\/sandbox.vnpayment.vn\/apis\/<\/a><\/li>\n<li><strong>ZaloPay\u30c6\u30b9\u30c8\u74b0\u5883<\/strong>: <a href=\"https:\/\/sb-openapi.zalopay.vn\/\">https:\/\/sb-openapi.zalopay.vn\/<\/a><\/li>\n<\/ul>\n<h3>3.2 Postman\u306e\u30c7\u30d0\u30c3\u30b0\u4f8b<\/h3>\n<pre><code class=\"language-json\">\/\/ Momo\u652f\u6255\u3044\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4f8b (POST \/v2\/gateway\/api\/create)<br>\r\n{<br>\r\n    \u300cpartnerCode\": \"MOMOXKXX\".<br>\r\n    \u300cpartnerName\": \"Test Merchant\"\u3001<br>\r\n    \u300cstoreId\": \"\u30c6\u30b9\u30c8\u5e97\"\u3001<br>\r\n    \u300crequestType\": \"captureWallet\". <br>\r\n    \"ipnUrl\": \"https:\/\/yourdomain.com\/momo_callback\"\u3001<br>\r\n    \/\/...\u305d\u306e\u4ed6\u306e\u5fc5\u9808\u9805\u76ee<br>\r\n}<br>\r\n<\/code><\/pre>\n<h2>VI.ZaloPay\u7d71\u5408\u30ad\u30fc\u30b3\u30fc\u30c9\uff08Node.js\u306e\u4f8b\uff09<\/h2>\n<pre><code class=\"language-javascript\">const crypto = require('crypto');<br>\r\nconst axios = require('axios');<br>\r\n<br>\r\n\/\/ ZaloPay\u914d\u7f6e\u53c2\u6570<br>\r\nconst config = {<br>\r\n  app_id: '2554',<br>\r\n  key1: 'sdngKKJmqEMzvh5QQcdD2A9XBSKUNaYn',<br>\r\n  endpoint: 'https:\/\/sb-openapi.zalopay.vn\/v2\/create'<br>\r\n};<br>\r\n<br>\r\n\/\/\u751f\u6210MAC\u7b7e\u540d(HMAC-SHA256)<br>\r\nfunction generateMac(data, key) {<br>\r\n  return crypto.createHmac('sha256', key)<br>\r\n              .update(data)<br>\r\n              .digest('hex');<br>\r\n}<br>\r\n<br>\r\nasync function createZaloPayment(order) {<br>\r\n  <br>\r\n const timestamp = Date.now();<br>\r\n const uid = `${timestamp}${Math.floor(Math.random() *999)}`;<br>\r\n <br>\r\n const params = {<br>\r\n   app_id: config.app_id,<br>\r\n   app_trans_id: `${moment().format('YYMMDD')}_${order.id}`,<br>\r\n   app_user: order.userId,<br>\r\n   amount: order.amount,<br>\r\n   item: JSON.stringify(order.items),<br>\r\n   description:`Thanh toan don hang #${order.id}`,<br>\r\n };<br>\r\n <br>\r\n \/\/\u6309\u6587\u6863\u8981\u6c42\u6392\u5e8f\u5e76\u62fc\u63a5\u7b7e\u540d\u5b57\u7b26\u4e32 <br>\r\n let dataStr= Object.keys(params).sort()<br>\r\n           .map(key=&gt;`${key}=${params[key]}`).join(&quot;&amp;&quot;);<br>\r\n           <br>\r\n params.mac= generateMac(dataStr,config.key1);<br>\r\n <br>\r\n try{<br>\r\n     const response= await axios.post(config.endpoint,params);<br>\r\n     if(response.data.return_code===1){<br>\r\n         return response.data.order_url; \/\/\u8df3\u8f6c\u5230ZaloPay\u7684\u652f\u4ed8\u9875\u9762URL  <br>\r\n     }else{<br>\r\n         throw new Error(`ZaloPay error:[${response.data.sub_return_code}] ${response.data.sub_return_message}`);<br>\r\n     }<br>\r\n }catch(error){<br>\r\n      console.error(&quot;\u8c03\u7528ZALOPAY API\u5931\u8d25:&quot;,error);   <br>\r\n      throw error;<br>\r\n }<br>\r\n}<br>\r\n<\/code><\/pre>\n<p>VII.\u672c\u756a\u74b0\u5883\u306e\u5c55\u958b\u306b\u95a2\u3059\u308b\u6ce8\u610f\u4e8b\u9805<\/p>\n<p>7.1 SSL\u8a3c\u660e\u66f8\u306e\u8981\u4ef6<br \/>\n\u3059\u3079\u3066\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u30fb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u5fc5\u9808\u3067\u3042\u308b\u3002<\/p>\n<ul>\n<li>HTTPS\u30d7\u30ed\u30c8\u30b3\u30eb\uff08HTTP\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\uff09<\/li>\n<li>TLS\u30d0\u30fc\u30b8\u30e7\u30f3\u22651.2\uff08\u30d9\u30c8\u30ca\u30e0\u4e2d\u592e\u9280\u884c\u306b\u3088\u3063\u3066\u6307\u5b9a\u3055\u308c\u305f\u3082\u306e\uff09<\/li>\n<\/ul>\n<p>7.2 IP\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u8a2d\u5b9a<br \/>\n\u30b5\u30fc\u30d0IP\u3092\u30de\u30fc\u30c1\u30e3\u30f3\u30c8\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3057\u307e\u3059\uff1a<\/p>\n<pre><code># VNPAY\u30de\u30fc\u30c1\u30e3\u30f3\u30c8\u30d0\u30c3\u30af\u30aa\u30d5\u30a3\u30b9\u306e\u4f8b\u3002<br>\r\n120.72.*.* \u30b5\u30fc\u30d0\u30fc\u306eIP\u30bb\u30b0\u30e1\u30f3\u30c8  <br>\r\n14..*.* \u4ee3\u66ffIP\u30bb\u30b0\u30e1\u30f3\u30c8    <br>\r\n<\/code><\/pre>\n<p>7.3 \u53d6\u5f15\u9650\u5ea6\u984d\u306e\u7ba1\u7406<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30c6\u30e9\u30b9<\/th>\n<th>\u30b7\u30f3\u30b0\u30eb\u30fb\u30df\u30cb\u30de\u30e0<\/th>\n<th>\u30b7\u30f3\u30b0\u30eb\u6700\u5927<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>MOMO<\/td>\n<td>10,000\u20ab<\/td>\n<td>50,000,000\u20ab<\/td>\n<\/tr>\n<tr>\n<td>VNPAY\u30a2\u30f3\u30ea\u30df\u30c6\u30c3\u30c9<\/td>\n<td>\u9280\u884c\u53e3\u5ea7\u6b8b\u9ad8\u306e\u4e0a\u9650<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30b6\u30ed\u30da\u30a4\u6cd5\u4eba\u53e3\u5ea7<\/td>\n<td>&#8211;<\/td>\n<td>200\u5104\u30c9\u30eb\/\u65e5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u591a\u8a00\u8a9e\u30a8\u30e9\u30fc\u51e6\u7406\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<pre><code class=\"language-java\">\u30d1\u30d6\u30ea\u30c3\u30af\u30af\u30e9\u30b9 PaymentErrorHandler {<br>\r\n<br>\r\n private static final Map MOMO_ERRORS=new HashMap(){{\u3002<br>\r\n put(0, \"Giao d\u1ecbch th\u00e0nh c\u00f4ng\"); put(-6, \"Signature kh\u00f4ng h\u1ee3p l\u1ec7\");}}\uff1b<br>\r\n<br>\r\n private static final Map VNPAY_ERRORS=new HashMap(){{\u3002<br>\r\n put(\"00\", \"GD thanh cong\");put(\"07\", \"Tr\u1eeb ti\u1ec1n th\u00e0nh c\u00f4ng GD b\u1ecb nghi ng\u1edd\");}}\uff1b<br>\r\n<br>\r\n public String localizeError(String provider,int code,String locale){.     <br>\r\n switch(locale.toLowerCase()){\u3002<br>\r\n vi\u300d\u306e\u5834\u5408\u3002<br>\r\n return \"vi\".equals(locale)?MOMO_ERRORS.get(code):getEnglishMessage(code)\uff1b       <br>\r\n \u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3002<br>\r\n return getEnglishMessage(code);}}\u3002<br>\r\n}<br>\r\n<\/code><\/pre>\n<p>IX.\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u306e\u63a8\u5968\u4e8b\u9805<\/p>\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u8a08\u306e\u6700\u9069\u5316<\/strong><\/p>\n<pre><code class=\"language-sql--\"> id BIGSERIAL PRIMARY KEY \u3001<br>\r\n \u30b2\u30fc\u30c8\u30a6\u30a7\u30a4 VARCHAR(20)\/* momo\/vnpay\/zalopay *\/ \u3001<br>\r\n trans_id VARCHAR(64)\/* \u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u53d6\u5f15\u756a\u53f7*\/ \u3001   <br>\r\n status SMALLINT\/*0=pending, 1=success**\/ \u3001    <br>\r\n created_at TIMESTAMPT NOT NULL DEFAULT NOW()\u3001<br>\r\n INDEX idx_gateway_status(gateway.status));`\u3002<br>\r\n<\/code><\/pre>\n<p><strong>Redis\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff1a<\/strong><\/p>\n<pre><code class=\"language-python\"> cache_key=f'momo_callback_{transid}' if cache.get(cache_key).<br>\r\n logger.warning(f'Duplicate callback detected:{transid}')<br>\r\n \u305d\u3046\u3067\u306a\u3051\u308c\u3070<br>\r\n cache.set(cache_key,'processed',timeout=300)#5 minutes expires`.<br>\r\n<\/code><\/pre>\n<p>\u7279\u5b9a\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u3088\u308a\u8a73\u7d30\u306a\u5b9f\u88c5\u3084\u3001\u7279\u5b9a\u306e\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u61f8\u5ff5\u4e8b\u9805\u3092\u79c1\u306b\u4f1d\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u30d9\u30c8\u30ca\u30e0\u6c7a\u6e08API\u30a2\u30af\u30bb\u30b9\u958b\u767a\u5b9f\u8df5\u30ac\u30a4\u30c9 I. \u30d9\u30c8\u30ca\u30e0\u306e\u4e3b\u8981\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6982\u8981 \u30d9\u30c8\u30ca\u30e0\u6c7a\u6e08API\u30a2\u30af\u30bb\u30b9\u958b\u767a\u5b9f\u8df5\u30ac\u30a4\u30c9 I. \u30d9\u30c8\u30ca\u30e0\u306e\u4e3b\u8981\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6982\u8981 I. \u30d9\u30c8\u30ca\u30e0\u306e\u4e3b\u8981\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6982\u8981 I. \u30d9\u30c8\u30ca\u30e0\u306e\u4e3b\u8981\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6982\u8981 I...<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-2827","post","type-post","status-publish","format-standard","hentry","category-34"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.9 (Yoast SEO v23.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8<\/title>\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.deekpay.com\/ja\/2025\/05\/19\/\u8d8a\u5357\u652f\u4ed8api\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\" \/>\n<meta property=\"og:description\" content=\"\u8d8a\u5357\u652f\u4ed8API\u63a5\u5165\u5f00\u53d1\u5b9e\u6218\u6307\u5357 \u4e00\u3001\u8d8a\u5357\u4e3b\u6d41\u652f\u4ed8\u5e73\u53f0\u6982\u89c8 \u5728&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.deekpay.com\/ja\/2025\/05\/19\/\u8d8a\u5357\u652f\u4ed8api\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\/\" \/>\n<meta property=\"og:site_name\" content=\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-19T02:03:05+00:00\" \/>\n<meta name=\"author\" content=\"deekpay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"deekpay\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/\"},\"author\":{\"name\":\"deekpay\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d\"},\"headline\":\"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\",\"datePublished\":\"2025-05-19T02:03:05+00:00\",\"dateModified\":\"2025-05-19T02:03:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/\"},\"wordCount\":87,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.deekpay.com\/#organization\"},\"articleSection\":[\"\u8d8a\u5357\u652f\u4ed8\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/\",\"url\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/\",\"name\":\"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8\",\"isPartOf\":{\"@id\":\"https:\/\/www.deekpay.com\/#website\"},\"datePublished\":\"2025-05-19T02:03:05+00:00\",\"dateModified\":\"2025-05-19T02:03:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.deekpay.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.deekpay.com\/#website\",\"url\":\"https:\/\/www.deekpay.com\/\",\"name\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u652f\u4ed8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.deekpay.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.deekpay.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.deekpay.com\/#organization\",\"name\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546\",\"url\":\"https:\/\/www.deekpay.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png\",\"contentUrl\":\"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png\",\"width\":649,\"height\":191,\"caption\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546\"},\"image\":{\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d\",\"name\":\"deekpay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g\",\"caption\":\"deekpay\"},\"sameAs\":[\"https:\/\/deekpay.com\"],\"url\":\"https:\/\/www.deekpay.com\/ja\/author\/deekpay\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","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.deekpay.com\/ja\/2025\/05\/19\/\u8d8a\u5357\u652f\u4ed8api\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\/","og_locale":"ja_JP","og_type":"article","og_title":"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b","og_description":"\u8d8a\u5357\u652f\u4ed8API\u63a5\u5165\u5f00\u53d1\u5b9e\u6218\u6307\u5357 \u4e00\u3001\u8d8a\u5357\u4e3b\u6d41\u652f\u4ed8\u5e73\u53f0\u6982\u89c8 \u5728&hellip;","og_url":"https:\/\/www.deekpay.com\/ja\/2025\/05\/19\/\u8d8a\u5357\u652f\u4ed8api\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b\/","og_site_name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","article_published_time":"2025-05-19T02:03:05+00:00","author":"deekpay","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"deekpay","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#article","isPartOf":{"@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/"},"author":{"name":"deekpay","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d"},"headline":"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b","datePublished":"2025-05-19T02:03:05+00:00","dateModified":"2025-05-19T02:03:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/"},"wordCount":87,"commentCount":0,"publisher":{"@id":"https:\/\/www.deekpay.com\/#organization"},"articleSection":["\u8d8a\u5357\u652f\u4ed8"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/","url":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/","name":"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","isPartOf":{"@id":"https:\/\/www.deekpay.com\/#website"},"datePublished":"2025-05-19T02:03:05+00:00","dateModified":"2025-05-19T02:03:05+00:00","breadcrumb":{"@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.deekpay.com\/en\/2025\/05\/19\/%e8%b6%8a%e5%8d%97%e6%94%af%e4%bb%98api%e6%80%8e%e4%b9%88%e6%8e%a5%ef%bc%9f%e5%bc%80%e5%8f%91%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.deekpay.com\/"},{"@type":"ListItem","position":2,"name":"\u8d8a\u5357\u652f\u4ed8API\u600e\u4e48\u63a5\uff1f\u5f00\u53d1\u5b9e\u6218\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.deekpay.com\/#website","url":"https:\/\/www.deekpay.com\/","name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u652f\u4ed8","description":"","publisher":{"@id":"https:\/\/www.deekpay.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.deekpay.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.deekpay.com\/#organization","name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546","url":"https:\/\/www.deekpay.com\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/","url":"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png","contentUrl":"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png","width":649,"height":191,"caption":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546"},"image":{"@id":"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d","name":"deekpay","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g","caption":"deekpay"},"sameAs":["https:\/\/deekpay.com"],"url":"https:\/\/www.deekpay.com\/ja\/author\/deekpay\/"}]}},"_links":{"self":[{"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/posts\/2827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/comments?post=2827"}],"version-history":[{"count":1,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/posts\/2827\/revisions"}],"predecessor-version":[{"id":2828,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/posts\/2827\/revisions\/2828"}],"wp:attachment":[{"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/media?parent=2827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/categories?post=2827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deekpay.com\/ja\/wp-json\/wp\/v2\/tags?post=2827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}