Switching to 1.6
As part of optimization Mercuryo is switching to api version 1.6. After the update the methods configured for the api 1.5 version will continue supported.
You need to change the version number from 1.5 to 1.6 to update:
https://api.mercuryo.io/v1.5 -> https://api.mercuryo.io/v1.6/
Most of the responses remain unchanged.
Updated responses
The main change is that response now contains information about commission
fee
– commissionsubtotal
– amount without commissiontotal
– total amount with commissionrate
– exchange rate of selected crypto to selected fiat
/widget/buy/rate
Request:
Request example:
Example:
/widget/sell/rate
Request:
Request example:
Example:
public / convert
Request:
Request example:
Added fields in response body
fee_currency
– type of selected fiat
Example:
public / rates
Request:
https://api.mercuryo.io/v1.6/widget/rates
Removed fields:
amount
rate
All fiat rates united in one object
Example (only for BTC):