Skip to main content
Use this endpoint to complete the password reset flow. Submit the OTP you received by email after calling Forgot Password, together with your new password. Shogun verifies the OTP and updates your password immediately.

Endpoint

POST https://baasapi.payrepmfb.com/api/v1/auth/web/reset_password
No authentication is required to call this endpoint.

Request body

email
string
required
The email address associated with your Dashboard account.
otp
string
required
The 6-character one-time password sent to your email address. OTPs are single-use and expire after a short window.
new_password
string
required
The new password you want to set for your account.

Example request

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/auth/web/reset_password \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "admin@yourbusiness.com",
    "otp": "123456",
    "new_password": "new-secure-password"
  }'

Response

A successful request confirms that the password has been reset.
{
  "status": true,
  "response_code": "00",
  "message": "Password reset successful",
  "data": {}
}
After a successful reset, use the Login endpoint to authenticate with your new password.