---
title: "Get user recharge amount"
method: POST
path: "/account/v1alpha1/costs/recharge"
tags: ["RechargeAmount"]
---

# Get user recharge amount

`POST /account/v1alpha1/costs/recharge`

## Request

- Base URL: `https://localhost:2333`
- URL: `https://localhost:2333/account/v1alpha1/costs/recharge`
- Auth: none declared

Get user recharge amount within a specified time range

## Request body

- HelperUserTimeRangeReq
  - `endTime` string
  - `kubeConfig` string
  - `owner` string
  - `startTime` string
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully retrieved user recharge amount

- object

## Other responses

- `400`: failed to parse user recharge amount request
- `401`: authenticate error
- `500`: failed to get user recharge amount

## Changes

- **2024-01-10** `21659a256411`: 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/costs/recharge/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)
