Перейти к основному содержанию
POST
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
topup-session
Создать сессию пополнения биллинга
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/billing/topup-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 1
}'
{
  "amount": "<string>",
  "hosted_page": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

Авторизации

Authorization
string
header
обязательно

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

Параметры пути

account_id
string<uuid>
обязательно

Тело

application/json

Схема клиентского запроса для запуска сессии пополнения кошелька.

amount
обязательно

Сумма пополнения

Требуемый диапазон: x > 0

Ответ

amount
string
обязательно

Сумма пополнения

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
hosted_page
Размещенная страница · object
обязательно

Метаданные размещенной платежной страницы