Use for Merchant Change Password
Method : [Post]
Path : {{domain}}/ext/changePassword/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"username": "{{agentUsername}}ninemb01",
"password": "aa123456",
"web": "{{whiteLabel}}"
}
| Key | Type | Example Value | Description |
|---|
| agentUsername | String | testag | The agent's username. |
| key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
| username | String | testagninemb01 | Username for password change. |
| password | String | aa123456 | Password you want to change. |
| web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "success"
}
| Key | Type | Example Value | Description |
|---|
| code | Number | 0 | Response code of API |
| msg | String | success | description of code |
| Value | msg |
|---|
| 0 | Success |
| 100001 | Missing 'agent Username' field. |
| 100002 | Agent username is type string. |
| 100003 | Missing 'key' field. |
| 100004 | Key is type string. |
| 100005 | Missing 'username' field. |
| 100006 | Username is type string. |
| 100007 | Missing 'password' field. |
| 100008 | Password is type string. |
| 100009 | Your username must be between 8 and 24 character. |
| 100010 | Your password must be between 6 and 16 character. |
| 100011 | Username is duplicate. |
| 100012 | Key not found. |
| 100013 | Agent not found. |
| 100014 | Member not found. |