Query API
Crypto purchase query call suggestions:
- You can first call Crypto Query (/open/api/v4/merchant/crypto/list) to query the supported crypto and limits;
- Then call Fiat Query
(/open/api/v4/merchant/fiat/list) to query the supported payment methods and limits; - If you need an estimate, you can call Price Query (/open/api/v4/merchant/order/quote)
Interface List
| Interface name | Function description |
|---|---|
| Query Order | Query order payment status, input order number, return order status |
| Crypto Query | Query 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 Query | Query supported fiat currencies and payment methods for On/Off Ramp, input BUY/SELL, return supported fiat currencies, payment methods |
| Price Query | Query estimated amount of fiat currency to be paid or the quantity of cryptocurrencies that can be received |
| Estimate Price Query | Query estimated amount of fiat currency to be paid or the quantity of cryptocurrencies that can be received. |
| IP Query | Query 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 Query | Query supported payment methods for fiat currency and cryptocurrency, input fiat currency and cryptocurrency, return supported payment methods and corresponding payWayCode for the transaction |
Updated 7 days ago