KlicklPay 英文收单接口文档

KlicklPay 英文收单接口文档


Deposit and withdrawal configuration

<p><strong>Brief description</strong></p> <ul> <li> Deposit and withdrawal configuration</li> </ul> <p><strong>Request URL</strong></p> <ul> <li><code>URL of the test environment request: https://preoapi.klicklpay.com/api/v3/Config</code></li> <li><code>URL of the official environment request: https://oapi.klicklpay.com/api/v3/Config</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/Config?coin=TRC20_USDT&amp;businessId=08d8f4d8-fcbb-4d69-84fe-6b9448063d0d&amp;mac=9eae4f3dfc19c5381cc1ca157f07d558&amp;timeStamp=1624438173</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;">Required field</th> <th>Type</th> <th>Description</th> <th>Example value</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">coin</td> <td style="text-align: left;">yes</td> <td>string</td> <td>Coin(BTC、ETH、ERC20_USDT、TRC20_USDT)</td> <td>BTC</td> </tr> <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 UTC time stamp</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",         "rechargeChannelRate": 1.5,         "isOpenRecharge": false,         "isOpenWithdraw": false,         "rechargeSingleAmountMin": 0.00001,         "withdrawSingleAmountMin": 1,         "withdrawSingleAmountMax": 2,         "withdrawTotalDailyAmount": 1,         "withdrawCost": 0.1,         "deductionType": 0     },     "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>coin</td> </tr> <tr> <td style="text-align: left;">rechargeChannelRate</td> <td style="text-align: left;">string</td> <td>64</td> <td>Recharge Channel Rate 1.5%</td> </tr> <tr> <td style="text-align: left;">isOpenRecharge</td> <td style="text-align: left;">bool</td> <td></td> <td>Whether to open deposit, true is open, false is closed</td> </tr> <tr> <td style="text-align: left;">isOpenWithdraw</td> <td style="text-align: left;">bool</td> <td></td> <td>Whether to open withdrawal, true is open, false is closed</td> </tr> <tr> <td style="text-align: left;">rechargeSingleAmountMin</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Minimum deposit single transaction limit</td> </tr> <tr> <td style="text-align: left;">withdrawSingleAmountMin</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Minimum withdrawal single transaction limit</td> </tr> <tr> <td style="text-align: left;">withdrawSingleAmountMax</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Maximum single withdrawal limit</td> </tr> <tr> <td style="text-align: left;">withdrawTotalDailyAmount</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Total amount of daily withdrawals, for the same merchant</td> </tr> <tr> <td style="text-align: left;">withdrawCost</td> <td style="text-align: left;">decimal</td> <td>decimal(65,30)</td> <td>Withdrawal fee</td> </tr> <tr> <td style="text-align: left;">deductionType</td> <td style="text-align: left;">int</td> <td></td> <td>Withdrawal fee deduction method, 0: balance deduction; 1: withdrawal amount deduction</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