Skip to main content
POST
/
cabinet
/
referral
/
withdrawal
/
create
Create Withdrawal
curl --request POST \
  --url http://localhost:8080/cabinet/referral/withdrawal/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount_kopeks": 123,
  "payment_details": "<string>"
}
'
{
  "id": 123,
  "amount_kopeks": 123,
  "status": "<string>"
}

Body

application/json

Request to create a withdrawal.

amount_kopeks
integer
required
Required range: x <= 10000000
payment_details
string
required
Required string length: 5 - 1000

Response

Successful Response

Response after creating withdrawal.

id
integer
required
amount_kopeks
integer
required
status
string
required