---
title: "购买/续费房间背景"
method: POST
path: "/api/room/bg/buy"
tags: ["房间背景接口"]
---

# 购买/续费房间背景

`POST /api/room/bg/buy`

bgId > 0 购买或续费付费房间背景；bgId < 0 续费自定义背景，取值为 -room_bg_purse_record.id

## Query parameters

- `uid` integer, required
- `bgId` integer, required

## Response `200`

OK

---

[API](https://skmtc.dev/oloo/apis/openapi-definition.md) · [All operations](https://skmtc.dev/oloo/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oloo/openapi-definition/revisions/c0963217c1b7/schema)
