GET exchange-office-currency-pairs/show

Returns a Exchange Office Currency Pair by the given id.

URL

https://unicash.io/api/exchange-office-currency-pairs/show

Parameters

access-token (string) (required) (header param) Access token for exchange office authentication.
id (integer) (required) The id of the Exchange Office Currency Pair that should be returned.

Example request

http://unicash.dev/api/exchange-office-currency-pairs/show?id=1

Example success response

{
    "status": 200,
    "data": {
        "id": 13,
        "id_currency_pair": 1,
        "id_payment_system": 2,
        "conversion_rate": 39.8
    }
}

Example error response

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