A link will be sent to the merchants mail if truly the merchant is registered on the system. Part of the link contains a token required to reset the password.
<aside> ℹ️ POST /merchant/reset-password
</aside>
Sample of the link
https://dashboard-url/reset-password/eyJhbGciOiJIUzI1NiIs.....
eyJhbGciOiJIUzI1NiIs..... is the token in the above link. The client integration
On the dashboard, the client is expected to provide a route that caters for the above link. e.g dashboard/reset/{token}
Request
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ.....",
"password": "12345"
}
Response
{
"status": true,
"data": "Password reset is successful. Kindly login to your account"
}