---
title: "Purchase Keys"
method: POST
path: "/api/v3/store/purchase/keys"
tags: ["Store"]
---

# Purchase Keys

`POST /api/v3/store/purchase/keys`

Purchase lootbox keys with coins.

## Request body

- KeyPurchaseRequest
  - `user_id` integer, required
  - `key_type` string, required
  - `quantity` 1 | 3 | 5, required

## Response `200`

Request fulfilled, document follows

- KeyPurchaseResponse
  - `success` boolean, required
  - `keys_purchased` integer, required
  - `price_paid` integer, required
  - `remaining_coins` integer, required

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/genji/apis/genji-shimada-api.md) · [All operations](https://skmtc.net/genji/apis/genji-shimada-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/genji/genji-shimada-api/revisions/8d8731ebc592/schema)
