This s a documentation page for our shiny new REST API - you weren't meant to find it. This API isn't ready for public use yet. We're chopping and changing it a LOT as we grow it. So if you build something that uses it then it's very likely to break in a future update. Don't say you weren't warned!
URL: | https://api.kashflow.com/v2/currencies |
Method(s): | get |
Response Formats: | JSON, XML |
Description: | This method allows you to retrieve all currencies set up for user account. |
Parameters
Name | Type | Description |
---|---|---|
Code | String | Unique code assigned to currency |
Symbol | String | Currency symbol |
Name | String | Currency name |
ExchangeRate | Numeric | Exchange rate |
DisplaySymbolOnRight | Boolean | Flag indicating whether currency symbol to be shown on right or left of the amount. True if want to show currency symbol on right side of amount. |
GET Operation
Returns list of currencies set for user account.URL : /currencies
Example response for GET of currency list
[{
"Code": "AUD",
"ExchangeRate": 1.8156,
"Name": "Australian Dollars",
"Symbol": "$",
"DisplaySymbolOnRight": false
}, {
"Code": "INR",
"ExchangeRate": 50.0000,
"Name": "Indian Rupees",
"Symbol": "Rs",
"DisplaySymbolOnRight": false
}, {
"Code": "USD",
"ExchangeRate": 50.0000,
"Name": "United States Dollars",
"Symbol": "$",
"DisplaySymbolOnRight": false
}]