WiPay
WAPIsv2.0.2User

Update Password

Change the authenticated user's password.

PATCH
/user/password
AuthorizationBearer <token>

OAuth2 access token obtained from POST /auth/tokens.

In: header

old_passwordstring

Current password.

Formatpassword
new_passwordstring

New password (must differ from current).

Formatpassword
Length8 <= length <= 30
confirm_passwordstring

Must match new_password.

Formatpassword

Response Body

curl -X PATCH "https://tt.wipayfinancial.com/wapi/user/password" \  -H "Content-Type: application/json" \  -d '{    "old_password": "pa$$word",    "new_password": "pa$$word",    "confirm_password": "pa$$word"  }'
{
  "message": "OK"
}
{
  "message": "string"
}