Get Available Cryptos
In order to get the available cryptocurrencies for the business, you need to send a GET request to the following endpoint:
GET https://www.mimbla.com/api/v1/merchant/cryptos
This endpoint doesn't require any parameters, you just need to provide the invoice ID in the URL.
Example Request
GET https://www.mimbla.com/api/v1/merchant/cryptos
Content-Type: application/json
Example Successful Response
If your request is successful, you will receive a response with the http status code 200 Ok
and the following body:
[
{
"id": 1,
"name": "Bitcoin",
"symbol": "BTC"
},
{
"id": 2,
"name": "Bitcoin Cash",
"symbol": "BCH"
},
{
"id": 3,
"name": "Litecoin",
"symbol": "LTC"
},
{
"id": 4,
"name": "Monero",
"symbol": "XMR"
}
]
Keep in mind that the response will contain the cryptocurrencies available and enabled for the business, the rates are updated every 5 minutes and are provided in USD, EUR, and GBP.
If you want to know more about the available cryptocurrencies and how we calculate the rates, you can check the Get Rates endpoint.