---
title: "Pay invoice from balance"
method: POST
path: "/invoices/{id}/pay"
tags: ["Invoices"]
---

# Pay invoice from balance

`POST /invoices/{id}/pay`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/invoices/{id}/pay`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Pays an unpaid invoice using the client's account credit balance.
This is the recommended way to handle renewals — the system generates
renewal invoices automatically, and the client pays them via this endpoint.

## Path parameters

- `id` integer, required

## Response `200`

Invoice paid successfully

## Other responses

- `404`: Resource not found
- `409`: Already paid or insufficient balance

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
