Crypto Query

Introduction

Merchant query the crypto and network that support buy (onramp) and sell (offramp) as well as the minimum and maximum limits.

Domains

Test Environment: https://openapi-test.alchemypay.org/open/api/v4/merchant/crypto/list

Prod Environment: https://openapi.alchemypay.org/open/api/v4/merchant/crypto/list

API Description

Request Method: GET

Request Parameters

Header Parameters:

ElementMandatoryData TypeRemarks
appidYstringPartner unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials with appId and appSecret
timestampYstringUTC time with 13 digit to represent time in milliseconds, expiration period is 5 minutes.
signYstringSignature, you can refer to the signature here

Url Parameters:

ElementMandatoryData TypeRemarks
fiatCstringFiat currency, char code with ISO4217 encoding(eg: USD, EUR, JPY, GBP), default USD

Url Example: http://openapi.alchemypay.org/open/api/v4/merchant/crypto/list?fiat=USD

Response Parameters

Response Parameter Example:

{
  "success": true,
  "returnCode": "0000",
  "returnMsg": "SUCCESS",
  "extend": "",
  "data": [
    {
      "crypto": "NEAR",
      "network": "BSC",
      "buyEnable": 1,
      "sellEnable": 0,
      "minPurchaseAmount": 15.75,// minimal fiat amount on ramp
      "maxPurchaseAmount": 1900,// maximum fiat amount on ramp
      "address": null,
      "icon": "https://static.alchemypay.org/alchemypay/crypto-images/NEAR.png",
      "minSellAmount": null,// minimum crypto quantity off ramp
      "maxSellAmount": null//  maximum crypto quantity off ramp
    },
    {
      "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
    }
    ]
}