---
title: "Use Credits Endpoint"
method: POST
path: "/api/credits/use"
tags: ["Credits - Admin"]
---

# Use Credits Endpoint

`POST /api/credits/use`

Allows a PV to spend credits on a platform action.

Reads the PV from `current_user["idpointofsale"]` so admin/PV impersonation
overrides are honored — credits are deducted from the active context, not
the real user's home PV.

## Headers

- `x-api-token` string, nullable

## Request body

- CreditUsePayload
  - `amount` number, required — Amount of credits to use, e.g., 10.50
  - `reason` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
