QM Developer Docs
Award Reference

Check Balance

Check the balance of your float account. You can use this API to obtain balance of your float account before initiating a Create Award transaction.

Check Balance.

GET /v1/float/check HTTP/1.1
Content-Type: application/json
Key: {API Key}
Sign: {Signature}

Response

Body

application/json
{
    "code": 0,
    "message": "string",
    "data": {
        "balance": 0.00,
        "currency": "string",
        "equivalent": {
            "{currencyInISO4217}": {
                "balance": 0.00,
                "asOf": 1706600000000
            }
        }
    }
}
PropertyTypeDescription
codenumberThe response code. Refer to ENUM Definition.
messagestringThe response message.
dataobjectThe response data.
data.balancenumberThe current balance of your float account denominated in USD.
data.currencystringThe ISO 4217 currency code of the currency balance. This will always be USD.
data.equivalentobjectThe equivalent balance data consist of mapped ISO 4217 currency code.
data.equivalent.{currencyInISO4217}objectThe equivalent currency data. By default, the currency returned will be dependent on your home country. For example, if your account is registered as a Malaysia account, then currency is MYR.
data.equivalent.{currencyInISO4217}.balancenumberThe equivalent balance amount in currency.
data.equivalent.{currencyInISO4217}.asOfnumberThe as of date and time in unix millisecond time of balance based on the currency exchange rate.

© 2023-2024 Quantum Metal Sdn Bhd