---
title: "Get user payment"
method: POST
path: "/account/v1alpha1/costs/payment"
tags: ["Payment"]
---

# Get user payment

`POST /account/v1alpha1/costs/payment`

Get user payment within a specified time range

## Request body

- HelperGetPaymentReq
  - `endTime` string
  - `invoiced` boolean — @Summary Invoiced @Description Invoiced @JSONSchema
  - `kubeConfig` string
  - `owner` string
  - `page` integer — @Summary Page @Description Page
  - `pageSize` integer — @Summary Page Size @Description Page Size
  - `paymentID` string — @Summary Payment ID @Description Payment ID @JSONSchema
  - `startTime` string
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully retrieved user payment

- object

## Other responses

- `400` — failed to parse user payment request
- `401` — authenticate error
- `500` — failed to get user payment

---

[API](https://skmtc.net/labring/apis/sealos-account-service.md) · [All operations](https://skmtc.net/labring/apis/sealos-account-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/sealos-account-service/revisions/185eff260477/schema)
