---
title: "Create Payment Link"
method: POST
path: "/miniapp/payments/create"
tags: ["miniapp"]
---

# Create Payment Link

`POST /miniapp/payments/create`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/miniapp/payments/create/post.ts> (a function with typed inputs; its response is checked against the schema)

Создание ссылки на оплату в мини-приложении.

## Request body

- MiniAppPaymentCreateRequest
  - `initData` string, required
  - `method` string, required
  - `amountRubles` number, nullable
  - `amountKopeks` integer, nullable
  - `option` string, nullable

## Response `200`

Successful Response

- MiniAppPaymentCreateResponse
  - `success` boolean
  - `method` string, required
  - `payment_url` string, nullable
  - `amount_kopeks` integer, nullable
  - `extra` object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/miniapp/payments/create/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
