Crypto Query
Introduction
Merchant query the crypto and network that support buy (onramp) and sell (offramp) as well as the minimum and maximum limits.
This API can only be invoked on the server side.
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:
Element | Mandatory | Data Type | Remarks |
---|---|---|---|
appid | Y | string | Partner unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials with appId and appSecret |
timestamp | Y | string | UTC time with 13 digit to represent time in milliseconds, expiration period is 5 minutes. |
sign | Y | string | Signature, you can refer to the signature here |
Url Parameters:
Element | Mandatory | Data Type | Remarks |
---|---|---|---|
fiat | C | string | Fiat currency, char code with ISO4217 encoding(eg: USD, EUR, JPY, GBP), default USD |
Request Parameter Example:
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
}
]
}
Updated 16 days ago