---
title: "Create Invoice Payment"
method: POST
path: "/api/billing/invoices/pay"
tags: ["Billing"]
---

# Create Invoice Payment

`POST /api/billing/invoices/pay`

Create Stripe Checkout session to pay a pending enterprise invoice.

## Headers

- `X-API-Key` string, nullable

## Request body

- InvoicePaymentRequest
  - `billing_month` string, required — Billing month to pay (YYYY-MM)

## Response `200`

Successful Response

- InvoicePaymentResponse
  - `success` boolean
  - `message` string, nullable
  - `url` string, nullable — Stripe Checkout URL
  - `session_id` string, nullable — Stripe session ID
  - `amount_usd` number, nullable — Amount to pay

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/823dcdb67c40/schema)
