Check current foreign exchange rates by hitting this endpoint. It is particularly useful for international payouts where currency conversion is necessary.

The "rate" parameter in the Check Foreign Exchange API response indicates the conversion rate from the source currency to the destination currency. For example, a rate of "7.1026254" means that 1 unit of USD converts to 7.1026254 units of CNY.

{
    "ret_code": "000100",
    "ret_msg": "success",
    "result": {
        "rate": "7.1026254",
        "sourceCurrency": "USD",
        "destinationCurrency": "CNY"
    }
}
Language