currencies
Store a new currency
Creates a new currency. The data required can be submitted as a JSON body or as a list of parameters.
post/v1/currencies
Request
- Base URL: https://demo.firefly-iii.org/api
- URL: https://demo.firefly-iii.org/api/v1/currencies
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://demo.firefly-iii.org/oauth/authorize, token URL https://demo.firefly-iii.org/oauth/token)
- HTTP bearer
Headers
X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00
Unique identifier associated with this request.
Request body
Example request
{
"enabled": true,
"primary": true,
"code": "AMS",
"name": "Ankh-Morpork dollar",
"symbol": "AM$",
"decimal_places": 2
}Response
New currency stored, result in response.
Changes
No recorded changes to this endpoint across all 1 revision of this API.