Create a credit adjustment
Changed onPre-release Endpoint This endpoint is currently in beta and is subject to change.
A credit adjustment can be used to make manual adjustments to a customer's credit balance.
Supported use-cases:
- Usage correction
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/openmeter/customers/{customerId}/credits/adjustments
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Request body
Example request
{
"labels": {
"env": "test"
},
"currency": "USD"
}Response
CreditAdjustment created response.
Example response
{
"labels": {
"env": "test"
}
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning