查询数字货币

介绍

此接口用于查询On/Off ramp支持的数字货币

接口说明

路径:GET /open/api/v3/merchant/crypto/list?fiat=USD

❗️该接口只能在服务端被调用

Header参数:

参数名必选类型说明
appidYstring应用的唯一标识
timestampYstring当前 UTC 13位时间戳, 5分钟内有效
signYstring将appId,timeStamp,和请求的参数按字母排序进行签名,签名方式可参考这里

Body参数:

参数名必选类型说明
fiatYstring3位法币code,eg:USD,EUR,JPY,不传默认USD

示例

请求参数:

返回参数:

{
  "success": true,
  "returnCode": "0000",
  "returnMsg": "SUCCESS",
  "extend": "",
  "data": [
    {
      "crypto": "NEAR",
      "network": "BSC",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,// 买币最小的法币限额
      "maxPurchaseAmount": 1900,// 买币最大的法币限额
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/NEAR.png",
      "minSellAmount": null,// 卖币最小的数字货币数量
      "maxSellAmount": null// 卖币最大的数字货币数量
    },
    {
      "crypto": "NEAR",
      "network": "NEAR",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/NEAR.png",
      "minSellAmount": null,
      "maxSellAmount": null
    },
    {
      "crypto": "BCH",
      "network": "BSC",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/BCH.png",
      "minSellAmount": null,
      "maxSellAmount": null
    },
    {
      "crypto": "BCH",
      "network": "ETH",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/BCH.png",
      "minSellAmount": null,
      "maxSellAmount": null
    },
    {
      "crypto": "ACH",
      "network": "BSC",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/ACH.png",
      "minSellAmount": null,
      "maxSellAmount": null
    },
    {
      "crypto": "ACH",
      "network": "ETH",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 26.25,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/ACH.png",
      "minSellAmount": null,
      "maxSellAmount": null
    },
    {
      "crypto": "ADA",
      "network": "BSC",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,
      "maxPurchaseAmount": 1900,
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/ADA.png",
      "minSellAmount": null,
      "maxSellAmount": null
    }
    ]
}