Before a merchant can change the current password, it is required for the merchant to successfully login into the account. Part of the parameters returned upon successful login would be used to change the current password of the merchant.
<aside> ℹ️ POST /merchant/change-password
</aside>
Request
Header
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYwNmFiN2Y5NzFlZDI0MDAwMzMwZmM1OCIsInJvbGUiOiJtZXJjaGFudCIsInVzZXJuYW1lIjoidGVzdDFAZy5jb20iLCJ1c2VySWQiOiI2MDZhYjdmOGE3MGFmNzcwOWM3NTQxZGUiLCJpYXQiOjE2MTc2MTEzMzQsImV4cCI6MTYxNzY4NjMzNH0.0NQOiP5suTk4g5IDCv07LvkWR1BoLnTmHMDJqNG3Kfo',
Body
{
"currentPassword": "12345",
"newPassword": "123456"
}
Response
{
"status": true,
"data": "Password is successfully changed"
}