# Save credit unit (/api/credit-unit/save-credit-unit)

`POST https://api.comecero.com/api/v1/usage/credit_unit`

Revision checked credit operation. Secret and trusted tokens require the applicable resource permission. New writes require header idempotency. Immutable rates do not reprice existing agreements. Core validates exact conversion, current funding, prepared work and protected billing boundaries.

## Parameters

- `Idempotency-Key` (header, required): Same key and canonical body replay the saved result. A different body returns CreditRequestConflict; pending work returns CreditRequestPending.

Request body: the `credit_unit_request` schema.

Responses: 200, 201, 400, 401, 403, 404, 409, 500.

Full schemas: operation `save_credit_unit` in /openapi.json.