---
title: "Mark subscription invoice as paid"
method: POST
path: "/api/v1/subscriptions/{id}/invoice/paid"
tags: ["Subscriptions"]
---

# Mark subscription invoice as paid

`POST /api/v1/subscriptions/{id}/invoice/paid`

Marks the latest invoice of a subscription as paid in the billing provider. The invoice must exist and have an OPEN status.

## Path parameters

- `id` string, required

## Headers

- `X-ACCOUNT-ID` string
- `X-ENVIRONMENT-ID` string

## Response `200`

Confirmation that the invoice was marked as paid.

- MarkInvoiceAsPaidResponseDto — Response object
  - `data` object, required — Result of marking a subscription invoice as paid.
    - `id` string, required — The subscription ID whose invoice was marked as paid

## Other responses

- `400` — bad request.
- `401` — User is not authenticated.
- `403` — User is not allowed to access this resource.
- `404` — Subscription not found.
- `429` — Too many requests.

---

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