Skip to main content
POST
/
cabinet
/
balance
/
topup
Create Topup
curl --request POST \
  --url http://localhost:8080/cabinet/balance/topup \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount_kopeks": 1000000500,
  "payment_method": "<string>",
  "payment_option": "<string>"
}
'
{
  "payment_id": "<string>",
  "payment_url": "<string>",
  "amount_kopeks": 123,
  "amount_rubles": 123,
  "status": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Body

application/json

Request to create payment for balance top-up.

amount_kopeks
integer
required

Amount in kopeks (min 10 rubles)

Required range: 1000 <= x <= 2000000000
payment_method
string
required

Payment method ID

payment_option
string | null

Payment option (e.g. Platega method code)

Response

Successful Response

Response with payment info.

payment_id
string
required
payment_url
string
required
amount_kopeks
integer
required
amount_rubles
number
required
status
string
required
expires_at
string<date-time> | null