KlicklPay 英文收单接口文档

KlicklPay 英文收单接口文档


Asset Overview

<p><strong>Brief description</strong></p> <ul> <li> Asset Overview</li> </ul> <p><strong>Request URL</strong></p> <ul> <li> <code>URL of the test environment request: https://preoapi.klicklpay.com/api/v3/Asset</code></li> <li><code> URL of the official environment request: https://oapi.klicklpay.com/api/v3/Asset</code></li> </ul> <p><strong>Request method:</strong></p> <ul> <li><code>GET</code></li> </ul> <p><strong>Example of request</strong></p> <pre><code>http://xxx.xxx.xxx/api/v3/Asset?businessId=08d8f4d8-fcbb-4d69-84fe-6b9448063d0d&amp;mac=9eae4f3dfc19c5381cc1ca157f07d558&amp;timeStamp=1624438173</code></pre> <p><strong>Request parameter description</strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter name</th> <th style="text-align: left;">Required field</th> <th>Type</th> <th>Description</th> <th>Example value</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">businessId</td> <td style="text-align: left;">yes</td> <td>string</td> <td>Merchant ID in the merchant backend</td> <td>08d92518-c513-45b2-8509-4c1c8c5cb5f9</td> </tr> <tr> <td style="text-align: left;">timeStamp</td> <td style="text-align: left;">yes</td> <td>long</td> <td>Current standard time in UTC</td> <td>1624438173</td> </tr> <tr> <td style="text-align: left;">mac</td> <td style="text-align: left;">yes</td> <td>string</td> <td>Signature</td> <td>9eae4f3dfc19c5381cc1ca157f07d558</td> </tr> </tbody> </table> <p><strong>Example of return content</strong></p> <pre><code>{     "data": {         "coin": "TRC20_USDT",         "balance": 10000,         "freezeBalance": 10000,         "totalWithdrawalAmount": 10000,         "totalRechargeAmount":  10000,         "totalWithdrawCurrencyAmount":10000,         "totalTransferInAmount": 10000,         "totalCollectionAmount":10000,         "totalPaymentAmount": 10000,     },     "mac": "7019c3a4c18c5a6536829a2c51b62605",     "isSuccess": true,     "code": 200,     "msg": null }</code></pre> <p><strong>Return parameter description</strong></p> <table> <thead> <tr> <th style="text-align: left;">Parameter name</th> <th style="text-align: left;">Type</th> <th>Maximum length</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">string</td> <td></td> <td>Return date</td> </tr> <tr> <td style="text-align: left;">coin</td> <td style="text-align: left;">string</td> <td>32</td> <td>Settlement coin</td> </tr> <tr> <td style="text-align: left;">balance</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Available balance</td> </tr> <tr> <td style="text-align: left;">freezeBalance</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Freeze amount</td> </tr> <tr> <td style="text-align: left;">totalWithdrawalAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Cumulative withdrawal</td> </tr> <tr> <td style="text-align: left;">totalRechargeAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Cumulative deposite</td> </tr> <tr> <td style="text-align: left;">totalWithdrawCurrencyAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Cumulative manual transfer out</td> </tr> <tr> <td style="text-align: left;">totalTransferInAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Cumulative manual transfer in</td> </tr> <tr> <td style="text-align: left;">totalCollectionAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Total collection amount</td> </tr> <tr> <td style="text-align: left;">totalPaymentAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Total payment amount</td> </tr> <tr> <td style="text-align: left;">mac</td> <td style="text-align: left;">string</td> <td></td> <td>Signature, the value obtained by signing the data in data</td> </tr> <tr> <td style="text-align: left;">isSuccess</td> <td style="text-align: left;">bool</td> <td></td> <td>Status: true success, false failure</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td></td> <td>Error Code</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td></td> <td>Error message, returns null on success</td> </tr> </tbody> </table> <p><strong>Notes</strong></p> <ul> <li> For more return error codes, please refer to the error code description on the homepage.</li> </ul>

页面列表

ITEM_HTML