GET currency-pairs/list

Returns a list of available currency pairs.

URL

https://unicash.io/api/currency-pairs/list

Parameters

lang (string) (Optional header param) Short code of language, sets language for response.

Example success response

{
    "status": 200,
    "data": [
        {
            "id": 1,
            "currency_from": 1,
            "currency_to": 2
        },
        {
            "id": 2,
            "currency_from": 1,
            "currency_to": 3
        }
    ]
}

Example error response

{
    "status": 400,
    "error": "This is an error message."
}