📜 Создание счета на оплату
Code samples
PUT /api/user/balance
Body parameter
amount: 300
currency: rub
🛠️ Параметры
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | object | false | none |
» amount | body | string | false | Сумма для пополнения |
» currency | body | string | false | Валюта (rub) |
Example responses
201 Response
{
"success": true,
"link": "string"
}
🔁 Ответы
Status | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Successful operation | Inline |
📋 Response Schema
Status Code 201
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» success | boolean | false | none | none |
» link | string | false | none | Ссылка на оплату |