Check OTP Store
Verify the OTP code sent to store's email during registration.
Endpoint
Authentication
Not required (public endpoint)
Request Body
Parameters
| Field | Type | Required | Description | Validation |
|---|---|---|---|---|
email |
string | Yes | Store's email address | Valid email format |
otp |
string | Yes | 6-digit OTP code | Not empty |
Response
Success (200 OK)
After successful verification, the store's account is activated (is_active: true) and they can login.
Error Responses
Store Not Found (404)
Invalid OTP (404)
Example Request
curl -X POST "https://api.luxmart.site/v1/accounts/otp/store/" \
-H "Content-Type: application/json" \
-d '{
"email": "store@example.com",
"otp": "123456"
}'
Notes
- OTP is a 6-digit code sent to store's email
- OTP verification activates the store account
- After activation, store can login using Login Store endpoint