Skip to main content
POST
Update User Balance

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
integer
required

Body

application/json

Request to update user balance.

amount_kopeks
integer
required

Amount in kopeks (positive to add, negative to subtract)

Required range: -2000000000 <= x <= 2000000000
description
string
default:Admin balance adjustment
Maximum string length: 500
create_transaction
boolean
default:true

Create transaction record

Response

Successful Response

Response after balance update.

success
boolean
required
old_balance_kopeks
integer
required
new_balance_kopeks
integer
required
message
string
required