---
title: "Set payment invoice"
method: POST
path: "/account/v1alpha1/payment/set-invoice"
tags: ["PaymentInvoice"]
---

# Set payment invoice

`POST /account/v1alpha1/payment/set-invoice`

## Request

- Base URL: `https://localhost:2333`
- URL: `https://localhost:2333/account/v1alpha1/payment/set-invoice`
- Auth: none declared

Set payment invoice

## Request body

- HelperSetPaymentInvoiceReq
  - `kubeConfig` string
  - `owner` string
  - `paymentIDList` string[], required: @Summary Payment ID list @Description Payment ID list @JSONSchema required
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully set payment invoice

- object

## Other responses

- `400`: failed to parse set payment invoice request
- `401`: authenticate error
- `500`: failed to set payment invoice

## Changes

- **2024-03-15** `758813da589f`: 1 info
  - endpoint added
- **2023-12-13** `ac0fa9d94489`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/labring/apis/sealos-account-service/changes/account/v1alpha1/payment/set-invoice/post.md)

---

[API](https://skmtc.dev/labring/apis/sealos-account-service.md) - [All operations](https://skmtc.dev/labring/apis/sealos-account-service/llms.txt) - [OpenAPI document](https://skmtc.dev/labring/apis/sealos-account-service/revisions/acd38d9540d3?raw)
