KlicklPay 英文收单接口文档

KlicklPay 英文收单接口文档


Signing steps

<p><strong>Signing steps:</strong></p> <ul> <li> <p>Take the deposit application as an example to explain</p> </li> <li> <p>Assuming that the two parties agree in advance that secretKey=b33d9fa8-ba71-474e-96bc-4217e4b989d6</p> </li> <li>Assuming that the parameters of the application for deposit are as follows businessId=08d8f4d8-fcbb-4d69-84fe-6b9448063d0d&amp;outOrderNo=202103200101010011&amp;outUserId=userId1&amp;coin=TRC20_USDT&amp;amount=100&amp;orderType=1&amp;productname=product&amp;exData=&amp;timeStamp=1624438173 <ol> <li>Sort by parameter field name, sort the result with &amp; connection, and the string after sorting is as follows: amount=100&amp;businessId=08d9526c-5070-41f1-8b5f-7379277bb16b&amp;coin=TRC20_USDT&amp;exData=exData&amp;orderType=1&amp;outOrderNo=202103200101010011&amp;productName=product&amp;timeStamp=1624438173</li> <li>After sorting, add &amp;secretKey=b33d9fa8-ba71-474e-96bc-4217e4b989d6 at the end of the string, forming the final string to be signed for calculation as follows: amount=100&amp;businessId=08d9526c-5070-41f1-8b5f-7379277bb16b&amp;coin=TRC20_USDT&amp;exData=exData&amp;orderType=1&amp;outOrderNo=202103200101010011&amp;productName=product&amp;timeStamp=1624438173&amp;secretKey=b33d9fa8-ba71-474e-96bc-4217e4b989d6</li> <li>Use the &quot;string for signature calculation&quot; generated in the previous step to generate a digital signature, and the signature gets the following results: b2c4a67679e251217db2be0912728893</li> <li>Add the generated digital signature to the request, the parameter is &quot;mac&quot;. Finally, the API request sent to the server should be: <pre><code>http://xxx.xxx.xxx/api/v3/Payment?businessId=08d9526c-5070-41f1-8b5f-7379277bb16b&amp;outOrderNo=202103200101010011&amp;outUserId=userId1&amp;coin=TRC20_USDT&amp;amount=100&amp;orderType=1&amp;productname=product&amp;exData=exData&amp;timeStamp=1624438173&amp;mac=b2c4a67679e251217db2be0912728893</code></pre></li> </ol></li> </ul>

页面列表

ITEM_HTML