---
title: "POST /api/balance_adjustments/"
method: POST
path: "/api/balance_adjustments/"
tags: ["api"]
---

# POST /api/balance_adjustments/

`POST /api/balance_adjustments/`

A simple ViewSet meant only for creating CustomerBalanceAdjustments.

## Request body

- CustomerBalanceAdjustmentCreateRequest
  - `customer_id` string, required — The id provided when creating the customer, we suggest matching with your internal customer id in your backend
  - `amount` number, double, required
  - `pricing_unit_code` string, required
  - `description` string, nullable
  - `effective_at` string, date-time
  - `expires_at` string, date-time, nullable
  - `amount_paid` number, double
  - `amount_paid_currency_code` string

## Response `201`

- CustomerBalanceAdjustment
  - `adjustment_id` string, required
  - `customer` LightweightCustomer, required
    - `customer_name` string, nullable, required — The display name of the customer
    - `email` string, email, nullable, required — The primary email address of the customer, must be the same as the email address used to create the customer in the payment provider
    - `customer_id` string, required — The id provided when creating the customer, we suggest matching with your internal customer id in your backend
  - `amount` number, double, required
  - `pricing_unit` PricingUnit, required
    - `code` string, required
    - `name` string, required
    - `symbol` string, required
  - `description` string, nullable
  - `effective_at` string, date-time
  - `expires_at` string, date-time, nullable
  - `status` 'active' | 'inactive'
  - `parent_adjustment_id` string, uuid, required
  - `amount_paid` number, double
  - `amount_paid_currency` PricingUnit, required
    - `code` string, required
    - `name` string, required
    - `symbol` string, required

## Changes

- **2023-01-16** `36b48cae00a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uselotus/apis/lotus-api/changes/api/balance_adjustments/post.md)

---

[API](https://skmtc.dev/uselotus/apis/lotus-api.md) · [All operations](https://skmtc.dev/uselotus/apis/lotus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselotus/lotus-api/revisions/36b48cae00a3/schema)
