withToken(config('rsync-studio.paddle.api_key')) ->acceptJson() ->timeout(10) ->get('/customers/'.$customerID); if (!$response->successful()) return null; $data = $response->json('data'); return is_array($data) ? $data : null; } }