curl -X POST "https://staging-api.loyalty.lt/en/shop/auth/request-otp" \ -H "X-API-Key: your_api_key" \ -H "X-API-Secret: your_api_secret" \ -H "Content-Type: application/json" \ -d '{ "phone": "+37060000000", "type": "login" }'
{ "success": true, "message": "OTP sent successfully", "data": { "phone": "+37060****000", "expires_at": "2024-01-15T10:35:00Z" } }
Send OTP code to user’s phone for authentication
login
register
verify
Show data