OpenMeter Currencies
Create cost basis
Changed onCreate a cost basis for a currency.
post/openmeter/currencies/custom/{currencyId}/cost-bases
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/currencies/custom/{currencyId}/cost-bases
- Auth: none declared
Path parameters
currencyIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"fiat_code": "USD",
"effective_from": "2023-01-01T01:01:01.001Z",
"effective_to": "2023-01-01T01:01:01.001Z"
}Response
CostBasis created response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"fiat_code": "USD",
"effective_from": "2023-01-01T01:01:01.001Z",
"effective_to": "2023-01-01T01:01:01.001Z",
"created_at": "2023-01-01T01:01:01.001Z"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
api tag
OpenMeter Currenciesadded - info
api tag
OpenMeter Billingremoved
- info