OpenMeter Currencies
Create custom currency
Changed onCreate a custom currency. This operation allows defining your own custom currency for billing purposes.
post/openmeter/currencies/custom
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/currencies/custom
- Auth: none declared
Request body
Response
CurrencyCustom created response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"created_at": "2023-01-01T01:01:01.001Z",
"cost_basis": [
{
"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
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
the
request property's minLength was increased from3to4 - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
removed the request property
- warning
removed the optional property
from the response with the status
- warning