# \CurrenciesApi All URIs are relative to *https://demo.firefly-iii.org/api* Method | HTTP request | Description ------------- | ------------- | ------------- [**default_currency**](CurrenciesApi.md#default_currency) | **POST** /v1/currencies/{code}/default | Make currency default currency. [**delete_currency**](CurrenciesApi.md#delete_currency) | **DELETE** /v1/currencies/{code} | Delete a currency. [**disable_currency**](CurrenciesApi.md#disable_currency) | **POST** /v1/currencies/{code}/disable | Disable a currency. [**enable_currency**](CurrenciesApi.md#enable_currency) | **POST** /v1/currencies/{code}/enable | Enable a single currency. [**get_currency**](CurrenciesApi.md#get_currency) | **GET** /v1/currencies/{code} | Get a single currency. [**get_default_currency**](CurrenciesApi.md#get_default_currency) | **GET** /v1/currencies/default | Get the user's default currency. [**list_account_by_currency**](CurrenciesApi.md#list_account_by_currency) | **GET** /v1/currencies/{code}/accounts | List all accounts with this currency. [**list_available_budget_by_currency**](CurrenciesApi.md#list_available_budget_by_currency) | **GET** /v1/currencies/{code}/available-budgets | List all available budgets with this currency. [**list_bill_by_currency**](CurrenciesApi.md#list_bill_by_currency) | **GET** /v1/currencies/{code}/bills | List all bills with this currency. [**list_budget_limit_by_currency**](CurrenciesApi.md#list_budget_limit_by_currency) | **GET** /v1/currencies/{code}/budget_limits | List all budget limits with this currency [**list_currency**](CurrenciesApi.md#list_currency) | **GET** /v1/currencies | List all currencies. [**list_recurrence_by_currency**](CurrenciesApi.md#list_recurrence_by_currency) | **GET** /v1/currencies/{code}/recurrences | List all recurring transactions with this currency. [**list_rule_by_currency**](CurrenciesApi.md#list_rule_by_currency) | **GET** /v1/currencies/{code}/rules | List all rules with this currency. [**list_transaction_by_currency**](CurrenciesApi.md#list_transaction_by_currency) | **GET** /v1/currencies/{code}/transactions | List all transactions with this currency. [**store_currency**](CurrenciesApi.md#store_currency) | **POST** /v1/currencies | Store a new currency [**update_currency**](CurrenciesApi.md#update_currency) | **PUT** /v1/currencies/{code} | Update existing currency. ## default_currency > models::CurrencySingle default_currency(code, x_trace_id) Make currency default currency. Make this currency the default currency for the user. If the currency is not enabled, it will be enabled as well. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## delete_currency > delete_currency(code, x_trace_id) Delete a currency. Delete a currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type (empty response body) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## disable_currency > models::CurrencySingle disable_currency(code, x_trace_id) Disable a currency. Disable a currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## enable_currency > models::CurrencySingle enable_currency(code, x_trace_id) Enable a single currency. Enable a single currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_currency > models::CurrencySingle get_currency(code, x_trace_id) Get a single currency. Get a single currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_default_currency > models::CurrencySingle get_default_currency(x_trace_id) Get the user's default currency. Get the user's default currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_account_by_currency > models::AccountArray list_account_by_currency(code, x_trace_id, limit, page, date, r#type) List all accounts with this currency. List all accounts with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | **date** | Option<**String**> | A date formatted YYYY-MM-DD. When added to the request, Firefly III will show the account's balance on that day. | | **r#type** | Option<[**AccountTypeFilter**](.md)> | Optional filter on the account type(s) returned | | ### Return type [**models::AccountArray**](AccountArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_available_budget_by_currency > models::AvailableBudgetArray list_available_budget_by_currency(code, x_trace_id, limit, page) List all available budgets with this currency. List all available budgets with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | ### Return type [**models::AvailableBudgetArray**](AvailableBudgetArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_bill_by_currency > models::BillArray list_bill_by_currency(code, x_trace_id, limit, page) List all bills with this currency. List all bills with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | ### Return type [**models::BillArray**](BillArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_budget_limit_by_currency > models::BudgetLimitArray list_budget_limit_by_currency(code, x_trace_id, limit, page, start, end) List all budget limits with this currency List all budget limits with this currency ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | **start** | Option<**String**> | Start date for the budget limit list. | | **end** | Option<**String**> | End date for the budget limit list. | | ### Return type [**models::BudgetLimitArray**](BudgetLimitArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_currency > models::CurrencyArray list_currency(x_trace_id, limit, page) List all currencies. List all currencies. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | ### Return type [**models::CurrencyArray**](CurrencyArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_recurrence_by_currency > models::RecurrenceArray list_recurrence_by_currency(code, x_trace_id, limit, page) List all recurring transactions with this currency. List all recurring transactions with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | ### Return type [**models::RecurrenceArray**](RecurrenceArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_rule_by_currency > models::RuleArray list_rule_by_currency(code, x_trace_id, limit, page) List all rules with this currency. List all rules with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | ### Return type [**models::RuleArray**](RuleArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_transaction_by_currency > models::TransactionArray list_transaction_by_currency(code, x_trace_id, limit, page, start, end, r#type) List all transactions with this currency. List all transactions with this currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | **limit** | Option<**i32**> | Number of items per page. The default pagination is per 50 items. | | **page** | Option<**i32**> | Page number. The default pagination is per 50 items. | | **start** | Option<**String**> | A date formatted YYYY-MM-DD, to limit the list of transactions. | | **end** | Option<**String**> | A date formatted YYYY-MM-DD, to limit the list of transactions. | | **r#type** | Option<[**TransactionTypeFilter**](.md)> | Optional filter on the transaction type(s) returned | | ### Return type [**models::TransactionArray**](TransactionArray.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## store_currency > models::CurrencySingle store_currency(currency_store, x_trace_id) Store a new currency Creates a new currency. The data required can be submitted as a JSON body or as a list of parameters. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **currency_store** | [**CurrencyStore**](CurrencyStore.md) | JSON array or key=value pairs with the necessary currency information. See the model for the exact specifications. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded - **Accept**: application/vnd.api+json, application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## update_currency > models::CurrencySingle update_currency(code, currency_update, x_trace_id) Update existing currency. Update existing currency. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **code** | **String** | The currency code. | [required] | **currency_update** | [**CurrencyUpdate**](CurrencyUpdate.md) | JSON array with updated currency information. See the model for the exact specifications. | [required] | **x_trace_id** | Option<**uuid::Uuid**> | Unique identifier associated with this request. | | ### Return type [**models::CurrencySingle**](CurrencySingle.md) ### Authorization [firefly_iii_auth](../README.md#firefly_iii_auth), [local_bearer_auth](../README.md#local_bearer_auth) ### HTTP request headers - **Content-Type**: application/vnd.api+json, application/x-www-form-urlencoded - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)