1. User info

https://domain/api/app_user/user_info

1.1) request body

name type necessary remark

1.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data T bussiness entity

data description

name type remark
userId string user unique id
phone string phone number
email string
existedPin string false for unset pin, true for set already
name string
Avatar string
balance float
availableBalance float
currentInvitationCode string valid invitation code
todayProfitAmount float total profit today
upiWithdrawExtraProfitAmount float upi withdraw extra profit
enabledBankWithdraw bool bank withdraw method enable switch

2. User info update

https://domain/api/app_user/update

1.1) request body

name type necessary remark
name string N user's realname/nickname
email string N
telegram string N
whatsapp string N

1.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data T bussiness entity

https://domain/api/app_user/invitation_link

1.1) request body

name type necessary remark

1.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data String invitation link

4. set pin

https://domain/api/app_user/set_pin

4.1) request body

name type necessary remark
pin string Y pin code
otp string Y OTP code

4.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data String Business data

5. change pin

https://domain/api/app_user/change_pin

5.1) request body

name type necessary remark
newPin string Y new pin code
otp string Y OTP code

5.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data String Business data

5. check pin

https://domain/api/app_user/check_pin

5.1) request body

name type necessary remark
pin string Y pin code

5.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data bool true for checked, false for error checked.

6. user keep alive

https://domain/api/app_user/alive

5.1) request body

name type necessary remark
appVersion string Y apps version

5.2) response body

name type remark
success bool true/false
errCode string error code: 0 is success, Non-zero is error code
errMsg string error message when error code is non-zero
data bool true for checked, false for error checked.

results matching ""

    No results matching ""