Skip to main content
POST
Update Balance

Authorizations

X-API-Key
string
header
required

Path Parameters

user_id
integer
required

Body

application/json
amount_kopeks
integer
required
description
string | null
default:Корректировка через веб-API
create_transaction
boolean
default:true

Response

Successful Response

id
integer
required
status
string
required
language
string
required
balance_kopeks
integer
required
balance_rubles
number
required
has_had_paid_subscription
boolean
required
has_made_first_topup
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
telegram_id
integer | null
username
string | null
first_name
string | null
last_name
string | null
referral_code
string | null
referred_by_id
integer | null
last_activity
string<date-time> | null
promo_group
PromoGroupSummary · object | null
subscription
SubscriptionSummary · object | null