KlicklPay 英文收单接口文档

KlicklPay 英文收单接口文档


Coin Price Market

<p><strong>Brief description</strong></p> <ul> <li> Coin Price Market</li> </ul> <p><strong>Request URL</strong></p> <ul> <li><code>URL of the test environment request: https://preoapi.klicklpay.com/api/v3/Market</code></li> <li><code>URL of the official environment request: https://oapi.klicklpay.com/api/v3/Market</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/Market?businessId=08d8f4d8-fcbb-4d69-84fe6b9448063d0d&amp;timeStamp=1624438173&amp;mac=9eae4f3dfc19c5381cc1ca157f07d558</code></pre> <p><strong>Example of return content</strong></p> <pre><code>{     "data": [         {             "symbol": "ETH/USDT",             "inPrice": 1984.3,             "outPrice": 1984.4         },         {             "symbol": "BTC/USDT",             "inPrice": 33907.9,             "outPrice": 33910.1         }     ],     "mac": "0313217e33112111782a34b7fd8481fc",     "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>Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">string</td> <td>Return date</td> </tr> <tr> <td style="text-align: left;">symbol</td> <td style="text-align: left;">string</td> <td>Trading pair</td> </tr> <tr> <td style="text-align: left;">inPrice</td> <td style="text-align: left;">decimal(65,30)</td> <td>Buy Price</td> </tr> <tr> <td style="text-align: left;">outPrice</td> <td style="text-align: left;">decimal(65,30)</td> <td>Sell Price</td> </tr> <tr> <td style="text-align: left;">mac</td> <td style="text-align: left;">string</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>Status: true success, false failure</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>Error code</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>Error message, returns null on successdate</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