ConvertCurrency
Converts a decimal amount from one currency to another currency with the current exchange rate.
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
COMMAND = ConvertCurrencyAMOUNT = (DECIMAL)FROM = (TEXT)TO = (TEXT)Response
code = (INT)description = (TEXT)property[AMOUNT][0] = (DECIMAL)property[FROM][0] = (TEXT)property[TO][0] = (TEXT)property[CONVERTED_AMOUNT][0] = (DECIMAL)property[RATE][0] = (DECIMAL)Attributes
Section titled “Attributes”| AMOUNT | Amount to convert/The amount given in the request |
|---|---|
| FROM | Currency to convert from/The original currency of the amount |
| TO | Currency to convert to/The currency the command converted the amount into |
| CONVERTED_AMOUNT | The amount after the convertion |
| RATE | Convertion rate used to convert the amount |
Finance commands