---
title: "POST /internal/billing-ops/accounts/{accountId}/credits/adjust"
method: POST
path: "/internal/billing-ops/accounts/{accountId}/credits/adjust"
tags: ["BillingOps"]
---

# POST /internal/billing-ops/accounts/{accountId}/credits/adjust

`POST /internal/billing-ops/accounts/{accountId}/credits/adjust`

## Request

- Base URL: `https://api.greentally.ai/v1`
- URL: `https://api.greentally.ai/v1/internal/billing-ops/accounts/{accountId}/credits/adjust`
- Auth: HTTP bearer

## Path parameters

- `accountId` string, required

## Request body

- object
  - `amountCredits` integer, required
  - `reason` string, required

## Response `200`

Account credits adjusted

- CreditBalanceResponse
  - `data` CreditBalance, required
    - `accountId` string, required
    - `credits` integer, required
    - `frozen` boolean, required
    - `initialized` boolean, required
    - `reason` string
  - `meta` object

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greentally/apis/esgai-api/revisions/7eab940f1dd0?raw)
