Saltar al contenido principal

PIN Verify Explorer

Verify PIN and create an approved session for sensitive operations.

POST/auth/pin/verify

Description

Verify the 6-digit PIN and create an approved session. Session expires after inactivity timeout (5 minutes) or after 24 hours.

Parameters

6-digit numeric PIN

Responses

1001 Response

PIN verified successfully - Session approved for 24 hours with 5-minute inactivity timeout.

4007 Response

Invalid PIN - Attempts remaining before account lockout.

4006 Response

PIN not configured for this user - Configure PIN first or invalid format.

4030 Response

PIN verification blocked - Too many failed attempts. Account locked for 15 minutes.

401 Unauthorized

Unauthorized - Valid JWT token required in Authorization header.

Test Request
https://www.swapbits.site/api
curl -X POST "https://www.swapbits.site/api/auth/pin/verify" \
  -H "Content-Type: application/json"