Apply exchange rate for list of combinations
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Body Required
currencyConversions
-
convertedAmount number
-
currencyFrom integer
-
currencyTo integer
-
date string
-
requestedAmount number
POST /api-v1/currency-exchange/apply
curl \
-X POST http://wyzio.app/api-v1/currency-exchange/apply \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string" \
-d '[{"convertedAmount":42.0,"currencyFrom":42,"currencyTo":42,"date":"string","requestedAmount":42.0}]'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
[
{
"convertedAmount": 42.0,
"currencyFrom": 42,
"currencyTo": 42,
"date": "string",
"requestedAmount": 42.0
}
]
Response examples (200)
[
{
"convertedAmount": 42.0,
"currencyFrom": 42,
"currencyTo": 42,
"date": "string",
"requestedAmount": 42.0
}
]