payfrit-beacon-ios/PayfritBeacon/Services
Schwifty 2242260f5a fix: align OTP auth with actual API response format
Three bugs found and fixed:
1. sendOTP was sending "ContactNumber" but API expects "Phone"
2. APIResponse expected {"Success":true,"Data":{}} but API returns {"OK":true,"UUID":"..."}
3. verifyOTP was sending "Code" but API expects "OTP"

Now decodes the raw API format directly instead of going through the
generic APIResponse wrapper (which doesn't match auth endpoints).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 20:46:55 +00:00
..
APIClient.swift fix: align OTP auth with actual API response format 2026-03-22 20:46:55 +00:00
APIConfig.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
BLEManager.swift fix: address all issues from koda's code review 2026-03-22 17:25:55 +00:00
SecureStorage.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00