---
title: "Sets the minimum spend commitment for a customer."
method: PUT
path: "/billing/organization/{organizationId}/minimum-spend-commitment"
tags: ["BillingAccount"]
---

# Sets the minimum spend commitment for a customer.

`PUT /billing/organization/{organizationId}/minimum-spend-commitment`

At invoice time, if the period's measured spend is below the commitment, a top-up charge for
 the shortfall is added so the usage-side bill reaches the commitment. Setting it to 0
 removes the commitment.

## Path parameters

- `organizationId` string, required

## Request body

- SetMinimumSpendCommitmentEndpointInput
  - `minimumSpendCommitment` number, double, required — The new minimum spend commitment. 0 means no commitment; a positive value tops up the usage-side bill at invoice time when measured spend falls short.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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