Get details of currency exchange rate

GET /api-v1/currency-exchange/{id}

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • currencyFrom integer
    • currencyTo integer
    • date string
    • id integer
    • rate number
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/currency-exchange/{id}
curl \
 --request GET 'https://wyzio.app/api-v1/currency-exchange/{id}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "currencyFrom": 42,
  "currencyTo": 42,
  "date": "string",
  "id": 42,
  "rate": 42.0
}