logo
API REFERENCE

/v4/wallet/withdraw

Withdraw User Balance

POST /v4/wallet/withdraw

It withdraws the user balance. The money withdrew from the user is added to the agent's points.

Headers

Name Value
Authorization Bearer <API_TOKEN>
Content-Type application/json
Accept application/json

Body

{
  "user_code": 3,
  "amount": 50000
}
NameTypeDescription
user_codeinteger(64bit)User's code(unique ID)
amountdoubleWithdraw amount

Response

{
  "code": 0,
  "message": "OK",
  "data": {
    "balance": 26500,
    "amount": 0
  }
}
Key Type Description
code integer(32bit) Response Code
message string Response Message
balance double Point After Processing
amount double Processing Amount

Last updated 1 year ago