Query API

Crypto purchase query call suggestions:

  1. You can first call Crypto Query (/open/api/v4/merchant/crypto/list) to query the supported crypto and limits;
  2. Then call Fiat Query
    (/open/api/v4/merchant/fiat/list) to query the supported payment methods and limits;
  3. If you need an estimate, you can call Price Query (/open/api/v4/merchant/order/quote)

Interface List

Interface nameFunction description
Query OrderQuery order payment status, input order number, return order status
Crypto QueryQuery supported cryptocurrencies for On/Off Ramp, input fiat currency, return the cryptocurrencies supported for buying/selling with that fiat currency and their limits
Crypto - Fiat QueryQuery supported fiat currencies and payment methods for On/Off Ramp, input BUY/SELL, return supported fiat currencies, payment methods
Price QueryQuery estimated amount of fiat currency to be paid or the quantity of cryptocurrencies that can be received
Estimate Price QueryQuery estimated amount of fiat currency to be paid or the quantity of cryptocurrencies that can be received.
IP QueryQuery whether users from the country/region of the IP address are allowed to use the service, input IP address, return whether transactions from the country/region of the IP address are permitted
Payment Method QueryQuery supported payment methods for fiat currency and cryptocurrency, input fiat currency and cryptocurrency, return supported payment methods and corresponding payWayCode for the transaction