---
title: "Create a credit adjustment"
method: POST
path: "/openmeter/customers/{customerId}/credits/adjustments"
tags: ["OpenMeter Customers"]
---

# Create a credit adjustment

`POST /openmeter/customers/{customerId}/credits/adjustments`

A credit adjustment can be used to make manual adjustments to a customer's
credit balance.

Supported use-cases:

- Usage correction

## Path parameters

- `customerId` string, required — ULID (Universally Unique Lexicographically Sortable Identifier).

## Request body

- CreateCreditAdjustmentRequest — CreditAdjustment create request.
  - `name` string, required — Display name of the resource. Between 1 and 256 characters.
  - `description` string — Optional description of the resource. Maximum 1024 characters.
  - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `currency` union, required — Fiat or custom currency code.
    - string — Three-letter [ISO4217](https://www.iso.org/iso-4217-currency-codes.html) currency code. Custom three-letter currency codes are also supported for convenience.
    - string — Custom currency code. It should be a unique code but not conflicting with any existing fiat currency codes.
  - `amount` string, required — Numeric represents an arbitrary precision number.

## Response `201`

CreditAdjustment created response.

- BillingCreditAdjustment — A credit adjustment can be used to make manual adjustments to a customer's credit balance. Supported use-cases: - Usage correction
  - `name` string, required — Display name of the resource. Between 1 and 256 characters.
  - `description` string — Optional description of the resource. Maximum 1024 characters.
  - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/openmeterio/apis/openmeter-api.md) · [All operations](https://skmtc.net/openmeterio/apis/openmeter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmeterio/openmeter-api/revisions/eabb28bd0633/schema)
