Function /currency/exchange
Function invocation
https://json.aftermarket.pl/currency/exchange
Function description
Converts amount from one currency to another.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
amount | float | YES | Amount to convert | |
from | string | YES | Original currency code | |
to | string | YES | New currency code |
Return value
Converted amount (float value).