The command exited with code 0. Output: headers: { 'Authorization': 'IND', 'Token': token, 'User-Agent': 'Mozilla/5.0' } }); if (!histRes.ok) return; let histJson = await histRes.json(); // Auto-refresh token if expired (604 or 10002) and retry if (histJson.code === 604 || histJson.code === 10002 || histJson.msg === 'Token expired' || histJson.message === 'Token expired') { console.log(`[FAST-CHECKER] Token expired (code ${histJson.code}). Refreshing...`); token = await refreshPaymentToken(); histRes = await fetch(`https://api.oeur39rmwe.com/session/member/deposit?startDate=${startDate}&endDate=${endDate}¤t=1&size=20`, { method: 'GET', headers: { 'Authorization': 'IND', 'Token': token, 'User-Agent': 'Mozilla/5.0' } }); if (!histRes.ok) return; histJson = await histRes.json(); } if (histJson.code !== 0 || !histJson.data || !histJson.data.records) return; const matched = histJson.data.records.find(r => r.serialNumber && r.serialNumber === serialNumber); if (matched) { const status = matched.status.toUpperCase();