Login with an OTP Code

This endpoint verifies an SMS or email code for an existing buyer. Upon success, a buyer JWT is issued.

If the phone number or email does not belong to an existing buyer, an error is returned. For new buyers, use /api/auth/buyer/authorize instead.

Note: Users who attempt to login 5 times unsuccessfully will be locked out for 15 minutes at which point they can attempt to login again.

Click Try It! to start a request and see the response here!