---
title: "Get User Consumption History"
method: POST
path: "/api/pay/v1/userconsumption"
---

# Get User Consumption History

`POST /api/pay/v1/userconsumption`

## Query parameters

- `app_id` string, required

## Request body

- HistoryCreditsItem
  - `page` integer, required — 页码
  - `page_count` integer, required — 每页数量
  - `change_type` integer[] — 订单类型：0.充值；1.消费,2返还
  - `function` integer[] — 功能：0.购买积分；1.视频换脸；2.多人视频换脸；3.单人图片换脸；4.多人图片换脸；
  - `start_time` string — 开始时间
  - `end_time` string — 开始时间
  - `is_check_points` boolean — 是否查询积分消耗

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/fastapi.md) · [All operations](https://skmtc.dev/videofaceswap/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/videofaceswap/fastapi/revisions/76b11ccab8af/schema)
