OpenMeter Customers
Create a credit adjustment
Changed onA credit adjustment can be used to make manual adjustments to a customer's credit balance.
Supported use-cases:
- Usage correction
post/openmeter/customers/{customerId}/credits/adjustments
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/customers/{customerId}/credits/adjustments
- Auth: none declared
Path parameters
customerIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"labels": {
"env": "test"
},
"currency": "USD"
}Response
CreditAdjustment created response.
Example response
{
"labels": {
"env": "test"
}
}Changes
- breaking
removed from the
////request propertyanyOflist - info
added to the
////request propertyoneOflist
- breaking
- breaking
the
////request property type changed fromstringto no type - warning
removed from the
////request propertyallOflist - info
added to the
////request propertyanyOflist
- breaking